bbp_author_metabox_save

The bbPress bbp author metabox save hook.

Description

do_action( 'bbp_author_metabox_save', (unknown) $topic_id, (unknown) $anonymous_data ); 

Parameters (2)

0. $topic_id (unknown)
The topic id.
1. $anonymous_data (unknown)
The anonymous data.

Usage

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

Defined (2)

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

/includes/admin/topics.php  
  1. do_action( 'bbp_author_metabox_save', $topic_id, $anonymous_data ); 
/includes/admin/replies.php  
  1. do_action( 'bbp_author_metabox_save', $reply_id, $anonymous_data );