the_content_rss

The WordPress Core the content rss hook.

Description

add_filter( 'the_content_rss', (string) $polldaddy_link, (int) $int ); 

Parameters (2)

0. $polldaddy_link (string) => 'polldaddy_link'
The polldaddy link.
1. $int (int) => 1
The int.

Usage

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

Defined (1)

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

/modules/shortcodes/polldaddy.php  
  1. add_filter( 'the_content_rss', 'polldaddy_link', 1 );