bbp_map_meta_caps

  • apply_filters( 'bbp_map_meta_caps', $caps, $cap, $user_id, $args )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-caps.php :: Trac Source Line: 252
      				// Map to delete_others_posts
      				else
      					$caps[]    = $post_type->cap->delete_others_posts;
      			}
      
      			break;
      	}
      
      	return apply_filters( 'bbp_map_meta_caps', $caps, $cap, $user_id, $args );
      }
      
      /**
       * Return forum capabilities
       *
       * @since bbPress (r2593)
       *
       * @uses apply_filters() Calls 'bbp_get_forum_caps' with the capabilities
       * @return array Forum capabilities
       */
      

Comments are closed.