bbp_before_main_content

bbp_before_main_content

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_before_main_content') is found 25 times:

  • /templates/default/extras/archive-forum.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<div id="forum-front" class="bbp-forum-front">
    		<h1 class="entry-title"><?php bbp_forum_archive_title(); ?></h1>
    		<div class="entry-content">
    
  • /templates/default/extras/archive-topic.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<div id="topic-front" class="bbp-topics-front">
    		<h1 class="entry-title"><?php bbp_topic_archive_title(); ?></h1>
    		<div class="entry-content">
    
  • /templates/default/extras/page-create-topic.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-new-topic" class="bbp-new-topic">
    
  • /templates/default/extras/page-forum-statistics.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-statistics" class="bbp-statistics">
    
  • /templates/default/extras/page-front-forums.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="forum-front" class="bbp-forum-front">
    
  • /templates/default/extras/page-front-topics.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="topics-front" class="bbp-topics-front">
    
  • /templates/default/extras/page-topic-tags.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-topic-tags" class="bbp-topic-tags">
    
  • /templates/default/extras/page-topics-no-replies.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="topics-front" class="bbp-topics-front">
    
  • /templates/default/extras/page-user-login.php line 16
     
    // Begin Template
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-login" class="bbp-login">
    
  • /templates/default/extras/page-user-lost-pass.php line 16
     
    // Begin Template
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-lost-pass" class="bbp-lost-pass">
    
  • /templates/default/extras/page-user-register.php line 16
     
    // Begin Template
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-register" class="bbp-register">
    
  • /templates/default/extras/single-forum-edit.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-edit-page" class="bbp-edit-page">
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<div class="entry-content">
    
  • /templates/default/extras/single-forum.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<?php if ( bbp_user_can_view_forum() ) : ?>
    
  • /templates/default/extras/single-reply-edit.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-edit-page" class="bbp-edit-page">
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<div class="entry-content">
    
  • /templates/default/extras/single-reply-move.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-edit-page" class="bbp-edit-page">
    
  • /templates/default/extras/single-reply.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php if ( bbp_user_can_view_forum( array( 'forum_id' => bbp_get_reply_forum_id() ) ) ) : ?>
    
    		<?php while ( have_posts() ) : the_post(); ?>
    
  • /templates/default/extras/single-topic-edit.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-edit-page" class="bbp-edit-page">
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<div class="entry-content">
    
  • /templates/default/extras/single-topic-merge.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-edit-page" class="bbp-edit-page">
    
  • /templates/default/extras/single-topic-split.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div id="bbp-edit-page" class="bbp-edit-page">
    
  • /templates/default/extras/single-topic.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<?php if ( bbp_user_can_view_forum( array( 'forum_id' => bbp_get_topic_forum_id() ) ) ) : ?>
    
    		<?php while ( have_posts() ) : the_post(); ?>
    
  • /templates/default/extras/single-user-edit.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<div id="bbp-user-<?php bbp_current_user_id(); ?>" class="bbp-single-user">
    		<div class="entry-content">
    
    			<?php bbp_get_template_part( 'content', 'single-user' ); ?>
    
    
  • /templates/default/extras/single-user.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<div id="bbp-user-<?php bbp_current_user_id(); ?>" class="bbp-single-user">
    		<div class="entry-content">
    
    			<?php bbp_get_template_part( 'content', 'single-user' ); ?>
    
    
  • /templates/default/extras/single-view.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<div id="bbp-view-<?php bbp_view_id(); ?>" class="bbp-view">
    		<h1 class="entry-title"><?php bbp_view_title(); ?></h1>
    		<div class="entry-content">
    
  • /templates/default/extras/taxonomy-topic-tag-edit.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<div id="topic-tag" class="bbp-topic-tag">
    		<h1 class="entry-title"><?php printf( esc_html__( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1>
    
    
  • /templates/default/extras/taxonomy-topic-tag.php line 12
     */
    
    get_header(); ?>
    
    	<?php do_action( 'bbp_before_main_content' ); ?>
    
    	<?php do_action( 'bbp_template_notices' ); ?>
    
    	<div id="topic-tag" class="bbp-topic-tag">
    		<h1 class="entry-title"><?php printf( esc_html__( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1>
    		<div class="entry-content">
    

See this hook used in plugins: