the_content filter hook does not work
-
add_filter(‘the_content’,’filter_cp’);
function filter_cp($content) {
die($content);
return $content;
}As I know, the script should throw off the value of the $content when I open a post on frontpage.However, nothing happened, the post was opened normally.Does I make some mistake somewhere?
Thanks in advanced
hywl51
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘the_content filter hook does not work’ is closed to new replies.