Created
March 7, 2014 13:22
-
-
Save remcotolsma/9411383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 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