bp_before_blog_page

The BP Groupblog bp before blog page hook.

Description

do_action( 'bp_before_blog_page' ); 

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'bp_before_blog_page' ); 
The following example is for adding a hook callback.
  1. // define the bp_before_blog_page callback 
  2. function action_bp_before_blog_page( ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'bp_before_blog_page', 'action_bp_before_blog_page', 10, 0 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'bp_before_blog_page', 'action_bp_before_blog_page', 10, 0 ); 

Defined (4)

The action is defined in the following location(s).

/themes/p2-buddypress/page.php  
  1. <?php do_action( 'bp_before_blog_page' ) ?> 
/themes/p2-buddypress/index.php  
  1. <?php do_action( 'bp_before_blog_page' ) ?> 
/themes/p2-buddypress/blog.php  
  1. <?php do_action( 'bp_before_blog_page' ) ?> 
/themes/bp-groupblog/page.php  
  1. <?php do_action( 'bp_before_blog_page' ) ?>