bbp_topic_attributes_metabox_save

The bbPress bbp topic attributes metabox save hook.

Description

do_action( 'bbp_topic_attributes_metabox_save', (unknown) $topic_id, (unknown) $forum_id ); 

Parameters (2)

0. $topic_id (unknown)
The topic id.
1. $forum_id (unknown)
The forum id.

Usage

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

Defined (1)

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

/includes/admin/topics.php  
  1. do_action( 'bbp_topic_attributes_metabox_save', $topic_id, $forum_id );