bbp_post_notify_subscribers

The bbPress bbp post notify subscribers hook.

Description

do_action( 'bbp_post_notify_subscribers', (unknown) $reply_id, (unknown) $topic_id, (unknown) $user_ids ); 

Parameters (3)

0. $reply_id (unknown)
The reply id.
1. $topic_id (unknown)
The topic id.
2. $user_ids (unknown)
The user ids.

Usage

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

Defined (1)

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

/includes/common/functions.php  
  1. do_action( 'bbp_post_notify_subscribers', $reply_id, $topic_id, $user_ids );