the_content

The WordPress Core the content hook.

Description

remove_filter( 'the_content', $array, (unknown) $priority ); 

Parameters (2)

0. $array
The array.
1. $priority (unknown)
The priority.

Usage

To run the hook, copy the example below.
  1. $array = apply_filters( 'the_content', $array, $priority ); 
  2.  
  3. if ( !empty( $array ) ) { 
  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 callback 
  2. function filter_the_content( $array, $priority ) { 
  3. // make filter magic happen here... 
  4. return $array
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'the_content', 'filter_the_content', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'the_content', 'filter_the_content', 10, 2 ); 

Defined (4)

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

/classes/class-s2-core.php  
  1. remove_filter('the_content', array(&$wp_embed, 'autoembed'), $priority); 
  1. $content = apply_filters('the_content', $content); 
  1. add_filter('the_content', array(&$this, 'confirm')); 
  1. add_filter('the_content', array(&$this, 'filter'), 10);