bbp_new_reply

Update counts, etc.

Description

do_action( 'bbp_new_reply', (unknown) $reply_id, (unknown) $topic_id, (unknown) $forum_id, (unknown) $anonymous_data, (unknown) $reply_author, (bool) $false, (unknown) $reply_to ); 

.. ********************************************

Parameters (7)

0. $reply_id (unknown)
The reply id.
1. $topic_id (unknown)
The topic id.
2. $forum_id (unknown)
The forum id.
3. $anonymous_data (unknown)
The anonymous data.
4. $reply_author (unknown)
The reply author.
5. $false (bool) => false
The false.
6. $reply_to (unknown)
The reply to.

Usage

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

Defined (1)

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

/includes/replies/functions.php  
  1. do_action( 'bbp_new_reply', $reply_id, $topic_id, $forum_id, $anonymous_data, $reply_author, false, $reply_to );