bbp_bypass_check_for_blacklist

The bbPress bbp bypass check for blacklist hook.

Description

apply_filters( 'bbp_bypass_check_for_blacklist', (bool) $false, (unknown) $anonymous_data, (unknown) $author_id, (unknown) $title, (unknown) $content ); 

Parameters (5)

0. $false (bool) => false
The false.
1. $anonymous_data (unknown)
The anonymous data.
2. $author_id (unknown)
The author id.
3. $title (unknown)
The title.
4. $content (unknown)
The content.

Usage

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

Defined (1)

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

/includes/common/functions.php  
  1. if ( apply_filters( 'bbp_bypass_check_for_blacklist', false, $anonymous_data, $author_id, $title, $content ) )