bbp_make_clickable

The WordPress Core bbp make clickable hook.

Description

apply_filters( 'bbp_make_clickable', (unknown) $ret ); 

Parameters (1)

0. $ret (unknown)
The ret.

Usage

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

Defined (5)

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

/includes/common/formatting.php  
  1. $ret = apply_filters( 'bbp_make_clickable', $ret ); 
/includes/core/filters.php  
  1. add_filter( 'bbp_make_clickable', 'bbp_make_urls_clickable', 2 ); // https://bbpress.org 
  1. add_filter( 'bbp_make_clickable', 'bbp_make_ftps_clickable', 4 ); // ftps://bbpress.org 
  1. add_filter( 'bbp_make_clickable', 'bbp_make_emails_clickable', 6 ); // jjj@bbpress.org 
  1. add_filter( 'bbp_make_clickable', 'bbp_make_mentions_clickable', 8 ); // @jjj