function mytheme_content_filter( $content ) {
// Do stuff to $content, which contains the_content()
// Then return it
return $content;
}
add_filter( 'the_content', 'mytheme_content_filter' );
That's simply the filter I was looking for. – LukeJul 8 '11 at 21:04
Resurrecting this old thread to notice that, by using the filter, all tags get stripped. How can I keep my tags? – Ciprian PopescuNov 13 '12 at 9:17
@CiprianPopescu I would recommend starting a new question. It sounds to me like your issue isn't necessarily related to this question or answer. Adding your own question would allow you to elaborate more on the exact nature of your issue. – Chip BennettNov 13 '12 at 14:20