Is there a filter or hook that is triggered just before post content is rendered?
What I'd like to do is to apply a filter to the text content of a post just before the post text is being rendered.
Can you not simply use the_content
filter hook?
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' );