Created
January 12, 2014 10:48
-
-
Save lanche86/8383123 to your computer and use it in GitHub Desktop.
Remove empty p tags from ACF
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
| // ACF fix to remove <p></p> | |
| remove_filter( 'acf_the_content', 'wpautop' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment