Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// With this filter you check wich filter breaks 'the_content'
function test_the_content( $content ) {
echo strlen( $content ), '<br />';
add_filter( 'the_content', 'test_the_content', 0 );
add_filter( 'the_content', 'test_the_content', 1 );
add_filter( 'the_content', 'test_the_content', 10 );
add_filter( 'the_content', 'test_the_content', 20 );
add_filter( 'the_content', 'test_the_content', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.