bbp_get_forum_caps

  • apply_filters( 'bbp_get_forum_caps', $caps )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-caps.php :: Trac Source Line: 271
       */
      function bbp_get_forum_caps() {
      
      	// Forum meta caps
      	$caps = array (
      		'delete_posts'        => 'delete_forums',
      		'delete_others_posts' => 'delete_others_forums'
      	);
      
      	return apply_filters( 'bbp_get_forum_caps', $caps );
      }
      
      /**
       * Return topic capabilities
       *
       * @since bbPress (r2593)
       *
       * @uses apply_filters() Calls 'bbp_get_topic_caps' with the capabilities
       * @return array Topic capabilities
       */
      

Comments are closed.