Created
May 29, 2013 21:30
-
-
Save adapicom/5673996 to your computer and use it in GitHub Desktop.
Strip wpautop for Shortcodes
This file contains hidden or 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
remove_filter( 'the_content', 'wpautop' ); | |
add_filter( 'the_content', 'wpautop' , 99); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment