bbp_template_before_forums_index

  • do_action( 'bbp_template_before_forums_index' )

    Source Reference:

    •  *
       * @package bbPress
       * @subpackage Theme
       */
      
      ?>
      
      	<?php bbp_breadcrumb(); ?>
      
      	<?php do_action( 'bbp_template_before_forums_index' ); ?>
      
      	<?php if ( bbp_has_forums() ) : ?>
      
      		<?php bbp_get_template_part( 'bbpress/loop',     'forums'    ); ?>
      
      	<?php else : ?>
      
      		<?php bbp_get_template_part( 'bbpress/feedback', 'no-forums' ); ?>
      
      	<?php endif; ?>
      
    • Component: bbPress:: bbp-core
      File: /bbp-includes/bbp-core-shortcodes.php :: Trac Source Line: 225
      		$this->unset_globals();
      
      		// Start output buffer
      		$this->start( 'bbp_forum_archive' );
      
      		// Breadcrumb
      		bbp_breadcrumb();
      
      		// Before forums index
      		do_action( 'bbp_template_before_forums_index' );
      
      		// Load the forums index
      		if ( bbp_has_forums() )
      			bbp_get_template_part( 'bbpress/loop',     'forums'    );
      
      		// No forums
      		else
      			bbp_get_template_part( 'bbpress/feedback', 'no-forums' );
      
      		// After forums index
      

Comments are closed.