bbp_get_forums_for_current_user

  • apply_filters( 'bbp_get_forums_for_current_user', $forums )

    Source Reference:

    • Component: bbPress :: bbp-user
      File: /bbp-includes/bbp-user-template.php :: Trac Source Line: 1265
      	$r = wp_parse_args( $args, $defaults );
      
      	// Get the forums
      	$forums = get_posts( $r );
      
      	// No availabe forums
      	if ( empty( $forums ) )
      		$forums = false;
      
      	return apply_filters( 'bbp_get_forums_for_current_user', $forums );
      }
      
      /**
       * Performs a series of checks to ensure the current user can create topics.
       *
       * @since bbPress (r3127)
       *
       * @uses bbp_is_topic_edit()
       * @uses current_user_can()
       * @uses bbp_get_topic_id()
      

Comments are closed.