bp_forums_screen_single_forum

Load a single forum page.

Description

bp_forums_screen_single_forum(); 

Usage

  1. if ( !function_exists( 'bp_forums_screen_single_forum' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bp-forums-screens.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_forums_screen_single_forum(); 
  7.  

Defined (1)

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

/bp-forums/bp-forums-screens.php  
  1. function bp_forums_screen_single_forum() { 
  2.  
  3. if ( !bp_is_forums_component() || !bp_is_current_action( 'forum' ) || !bp_action_variable( 0 ) ) 
  4. return false; 
  5.  
  6. /** 
  7. * Fires right before the loading of the forums single forum screen template file. 
  8. * @since 1.5.0 
  9. */ 
  10.  
  11. /** 
  12. * Filters the template to load for the forums single forum screen. 
  13. * @since 1.5.0 
  14. * @param string $template Path to the forums single forum template to load. 
  15. */