bbp_reply_attributes_metabox_save

The bbPress bbp reply attributes metabox save hook.

Description

do_action( 'bbp_reply_attributes_metabox_save', (unknown) $reply_id, (unknown) $topic_id, (unknown) $forum_id, (unknown) $reply_to ); 

Parameters (4)

0. $reply_id (unknown)
The reply id.
1. $topic_id (unknown)
The topic id.
2. $forum_id (unknown)
The forum id.
3. $reply_to (unknown)
The reply to.

Usage

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

Defined (1)

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

/includes/admin/replies.php  
  1. do_action( 'bbp_reply_attributes_metabox_save', $reply_id, $topic_id, $forum_id, $reply_to );