I’m using the WP All Export plugin to create custom exports of my posts into CSV. However, none of the post content has
tags, it’s just white spaces. I need the tags because I’m importing into a different type of CMS that doesn’t treat white space as breaks.
I played around with adding and removing the following in functions.php:
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
But that only shows the tags within the WYSIWYG editor. The content in the database has white space. Is there a PHP function I can run on my export to include the P and BR tags on my content?