bbp_the_forum

Loads up the current forum in the loop.

Description

(object) bbp_the_forum(); 

Returns (object)

Forum information


Usage

  1. if ( !function_exists( 'bbp_the_forum' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/forums/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_the_forum(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/forums/template.php  
  1. function bbp_the_forum() { 
  2. returnbbpress)->forum_query->the_post();