Created
September 7, 2018 13:42
-
-
Save espiat/a834e682a8fc19ed4e03f37c055357c7 to your computer and use it in GitHub Desktop.
Content Export in WP with <p> - Tag
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
function content_export_with_paragraph($content) { | |
return wpautop($content); | |
} | |
add_filter('the_content_export', 'content_export_with_paragraph', 999); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment