bpbbpst_referer_filter_topic_subscribed

The Buddy-bbPress Support Topic bpbbpst referer filter topic subscribed hook.

Description

apply_filters( 'bpbbpst_referer_filter_topic_subscribed', (unknown) $checked, (unknown) $forum_id, (unknown) $support_type ); 

Parameters (3)

0. $checked (unknown)
The checked.
1. $forum_id (unknown)
The forum id.
2. $support_type (unknown)
The support type.

Usage

To run the hook, copy the example below.
  1. $checked = apply_filters( 'bpbbpst_referer_filter_topic_subscribed', $checked, $forum_id, $support_type ); 
  2.  
  3. if ( !empty( $checked ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the bpbbpst_referer_filter_topic_subscribed callback 
  2. function filter_bpbbpst_referer_filter_topic_subscribed( $checked, $forum_id, $support_type ) { 
  3. // make filter magic happen here... 
  4. return $checked
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'bpbbpst_referer_filter_topic_subscribed', 'filter_bpbbpst_referer_filter_topic_subscribed', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'bpbbpst_referer_filter_topic_subscribed', 'filter_bpbbpst_referer_filter_topic_subscribed', 10, 3 ); 

Defined (1)

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

/includes/functions.php  
  1. return apply_filters( 'bpbbpst_referer_filter_topic_subscribed', $checked, $forum_id, $support_type );