bbp_template_before_single_topic

  • do_action( 'bbp_template_before_single_topic' )

    Source Reference:

    •  *
       * @package bbPress
       * @subpackage Theme
       */
      
      ?>
      
      	<?php bbp_breadcrumb(); ?>
      
      	<?php do_action( 'bbp_template_before_single_topic' ); ?>
      
      	<?php if ( post_password_required() ) : ?>
      
      		<?php bbp_get_template_part( 'bbpress/form', 'protected' ); ?>
      
      	<?php else : ?>
      
      		<?php bbp_topic_tag_list(); ?>
      
      		<?php bbp_single_topic_description(); ?>
      
    • Component: bbPress:: bbp-core
      File: /bbp-includes/bbp-core-shortcodes.php :: Trac Source Line: 472
      		$this->start( 'bbp_single_topic' );
      
      		// Check forum caps
      		if ( bbp_user_can_view_forum( array( 'forum_id' => $forum_id ) ) ) {
      
      			// Breadcrumb
      			bbp_breadcrumb();
      
      			// Before single topic
      			do_action( 'bbp_template_before_single_topic' );
      
      			// Password protected
      			if ( post_password_required() ) {
      
      				// Output the password form
      				bbp_get_template_part( 'bbpress/form', 'protected' );
      
      			// Not password protected, or password is already approved
      			} else {
      

Comments are closed.