bp_forums_screen_single_forum

  • apply_filters( 'bp_forums_screen_single_forum', 'forums/single/forum' ) )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-screens.php :: Trac Source Line: 112
      function bp_forums_screen_single_forum() {
      	global $bp;
      
      	if ( !bp_is_forums_component() || !bp_is_current_action( 'forum' ) || !bp_action_variable( 0 ) )
      		return false;
      
      	do_action( 'bp_forums_screen_single_forum' );
      
      	bp_core_load_template( apply_filters( 'bp_forums_screen_single_forum', 'forums/single/forum' ) );
      }
      add_action( 'bp_screens', 'bp_forums_screen_single_forum' );
      
      function bp_forums_screen_single_topic() {
      	global $bp;
      
      	if ( !bp_is_forums_component() || !bp_is_current_action( 'topic' ) || !bp_action_variable( 0 ) )
      		return false;
      
      	do_action( 'bp_forums_screen_single_topic' );
      

Comments are closed.