Skip to content

Instantly share code, notes, and snippets.

@adapicom
Created May 29, 2013 21:30
Show Gist options
  • Save adapicom/5673996 to your computer and use it in GitHub Desktop.
Save adapicom/5673996 to your computer and use it in GitHub Desktop.
Strip wpautop for Shortcodes
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