bbp_pre_notify_subscribers

The WordPress Core bbp pre notify subscribers hook.

Description

add_action( 'bbp_pre_notify_subscribers', (string) $ass_bbp_remove_topic_subscribers_filter, (int) $int ); 

Parameters (2)

0. $ass_bbp_remove_topic_subscribers_filter (string) => 'ass_bbp_remove_topic_subscribers_filter'
The ass bbp remove topic subscribers filter.
1. $int (int)
The int.

Usage

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

Defined (1)

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

/screen-bbpress.php  
  1. add_action( 'bbp_pre_notify_subscribers', 'ass_bbp_remove_topic_subscribers_filter', 0 );