bpbbpst_notify_moderators

The Buddy-bbPress Support Topic bpbbpst notify moderators hook.

Description

do_action( 'bpbbpst_notify_moderators', (unknown) $topic_id, (unknown) $forum_id, (unknown) $recipients ); 

Parameters (3)

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

Usage

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

Defined (1)

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

/includes/functions.php  
  1. do_action( 'bpbbpst_notify_moderators', $topic_id, $forum_id, $recipients );