bbp_author_metabox

The bbPress bbp author metabox hook.

Description

do_action( 'bbp_author_metabox', (unknown) $get_the_id ); 

Parameters (1)

0. $get_the_id (unknown) => get_the_ID()
The get the id.

Usage

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

Defined (3)

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

/includes/admin/topics.php  
  1. do_action( 'bbp_author_metabox', get_the_ID() ); 
/includes/admin/replies.php  
  1. do_action( 'bbp_author_metabox', get_the_ID() ); 
/includes/admin/metaboxes.php  
  1. do_action( 'bbp_author_metabox', $post_id );