the_content

The NextScripts: Social Networks Auto-Poster the content hook.

Description

apply_filters( 'the_content', (unknown) $post_post_excerpt ); 

Parameters (1)

0. $post_post_excerpt (unknown)
The post post excerpt.

Usage

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

Defined (19)

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

/nxs_functions.php  
  1. if ($advImgFnd) $postCntEx = apply_filters('the_content', $post->post_excerpt); else $postCntEx = $post->post_excerpt; 
  1. if ($advImgFnd) $postCnt = apply_filters('the_content', $post->post_content); else $postCnt = $post->post_content; 
  1. if (is_object($post)) { if ($raw) $postCnt = $post->post_content; else $postCnt = apply_filters('the_content', $post->post_content); } else $postCnt = $post; 
  1. if (is_object($post)) { if ($raw) $postCnt = $post->post_content; else $postCnt = apply_filters('the_content', $post->post_content); } else $postCnt = $post; //prr($postCnt); 
/inc/nxs_functions_adv.php  
  1. if (preg_match('/%PANNOUNCE%/', $msg)) { $postContent = apply_filters('the_content', nxs_doQTrans($post->post_content, $lng)); 
  1. if (preg_match('/%PANNOUNCER%/', $msg)) { $postContent = apply_filters('the_content', nxs_doQTrans($post->post_content, $lng)); 
  1. if ($post->post_excerpt!="") $excerpt = strip_tags(strip_shortcodes(apply_filters('the_content', nxs_doQTrans($post->post_excerpt, $lng)))); 
  1. else $excerpt= nsTrnc(strip_tags(strip_shortcodes(apply_filters('the_content', nxs_doQTrans($post->post_content, $lng)))), 300, " ", "..."); 
  1. if (preg_match('/%FULLTEXT%/', $msg)) { $postContent = apply_filters('the_content', nxs_doQTrans($post->post_content, $lng)); $msg = str_ireplace("%FULLTEXT%", $postContent, $msg);} 
/inc-cl/vk.php  
  1. if (is_object($post) && $dsc=='') $dsc = trim(apply_filters('the_content', nxs_doQTrans($post->post_excerpt, $lng))); if ($dsc=='') $dsc = trim(nxs_doQTrans($post->post_excerpt, $lng)); 
  1. if (is_object($post) && $dsc=='') $dsc = trim(apply_filters('the_content', nxs_doQTrans($post->post_content, $lng))); if ($dsc=='') $dsc = trim(nxs_doQTrans($post->post_content, $lng)); 
/inc-cl/tw.php  
  1. $pText = (empty($gOptions['brokenCntFilters']))?apply_filters('the_content', $exrText):$exrText; 
  1. $pRawText = nxs_doQTrans($post->post_content); $pFullText = (empty($gOptions['brokenCntFilters']))?apply_filters('the_content', $pRawText):$pRawText; 
/inc-cl/pk.php  
  1. if ($post->post_excerpt!="") $pText = apply_filters('the_content', $post->post_excerpt); else $pText= apply_filters('the_content', $post->post_content); 
  1. if ($post->post_excerpt!="") $pText = apply_filters('the_content', $post->post_excerpt); else $pText= apply_filters('the_content', $post->post_content); 
  1. $pFullText = apply_filters('the_content', $post->post_content); $pRawText = $post->post_content; 
/inc-cl/li.php  
  1. $urlDescr = trim(apply_filters('the_content', $post->post_excerpt)); if ($urlDescr=='') $urlDescr = apply_filters('the_content', $post->post_content); 
  1. $urlDescr = trim(apply_filters('the_content', $post->post_excerpt)); if ($urlDescr=='') $urlDescr = apply_filters('the_content', $post->post_content); 
/inc-cl/fb.php  
  1. global $plgn_NS_SNAutoPoster; $gOptions = $plgn_NS_SNAutoPoster->nxs_options;if (empty($gOptions['brokenCntFilters'])) $dsc = apply_filters('the_content', $dsc);