Support » Plugins » the_content filter not working for pages?

  • Resolved zaim


    It seems that the ‘the_content’ filter hook doesn’t work with Pages?

    I’ve tried, but the hook doesn’t seem to filter page content. I could be doing something wrong, though, I don’t know.

    So, how do I filter page content, then?

Viewing 1 replies (of 1 total)
  • Oops, my bad. I was using echo $post->post_content; directly, instead of the_content(); so it wasn’t calling the hook.

Viewing 1 replies (of 1 total)
  • The topic ‘the_content filter not working for pages?’ is closed to new replies.