bbp_get_forum_content

  • apply_filters( 'bbp_get_forum_content', $content, $forum_id )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-template.php :: Trac Source Line: 371
      	function bbp_get_forum_content( $forum_id = 0 ) {
      		$forum_id = bbp_get_forum_id( $forum_id );
      
      		// Check if password is required
      		if ( post_password_required( $forum_id ) )
      			return get_the_password_form();
      
      		$content = get_post_field( 'post_content', $forum_id );
      
      		return apply_filters( 'bbp_get_forum_content', $content, $forum_id );
      	}
      
      /**
       * Output the forums last active ID
       *
       * @since bbPress (r2860)
       *
       * @uses bbp_get_forum_last_active_id() To get the forum's last active id
       * @param int $forum_id Optional. Forum id
       */
      

Comments are closed.