Remove empty lines ( ) when author updates their post

Question

Whenever adding an empty line between paragraphs using TinyMCE, the   character entity is added.

How can I strip the content of all instances of this character whenever an author updates their post (save_post)?

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/remove-empty-lines-when-author-updates-their-post/">

Remove empty lines ( ) when author updates their post</a>
0
, , , , Christine Cooper 2 months 0 Answers 70 views 0

Leave an answer