bb_profile.php_pre_db

The WordPress Core bb profile php pre db hook.

Description

add_action( 'bb_profile.php_pre_db', (string) $bb_bozo_profile_db_filter ); 

Parameters (1)

0. $bb_bozo_profile_db_filter (string) => 'bb_bozo_profile_db_filter'
The bb bozo profile db filter.

Usage

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

Defined (2)

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

/bp-forums/bbpress/bb-plugins/bozo.php  
  1. add_action( 'bb_profile.php_pre_db', 'bb_bozo_profile_db_filter' ); 
/bp-forums/bbpress/profile.php  
  1. do_action( 'bb_profile.php_pre_db', $user_id );