bbp_template_before_topics_index

  • do_action( 'bbp_template_before_topics_index' )

    Source Reference:

    •  *
       * @package bbPress
       * @subpackage Theme
       */
      
      ?>
      
      	<?php bbp_breadcrumb(); ?>
      
      	<?php do_action( 'bbp_template_before_topics_index' ); ?>
      
      	<?php if ( bbp_has_topics() ) : ?>
      
      		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
      
      		<?php bbp_get_template_part( 'bbpress/loop',       'topics'    ); ?>
      
      		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
      
      	<?php else : ?>
      
    • Component: bbPress:: bbp-core
      File: /bbp-includes/bbp-core-shortcodes.php :: Trac Source Line: 389
      		$this->unset_globals();
      
      		// Start output buffer
      		$this->start( 'bbp_topic_archive' );
      
      		// Breadcrumb
      		bbp_breadcrumb();
      
      		// Before topics index
      		do_action( 'bbp_template_before_topics_index' );
      
      		// Load the topic index
      		if ( bbp_has_topics( $topics_query ) ) {
      			bbp_get_template_part( 'bbpress/pagination', 'topics'    );
      			bbp_get_template_part( 'bbpress/loop',       'topics'    );
      			bbp_get_template_part( 'bbpress/pagination', 'topics'    );
      
      		// No topics
      		} else {
      			bbp_get_template_part( 'bbpress/feedback',   'no-topics' );
      

Comments are closed.