<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>contenteditable=”false”

[ad_1]

Replies: 3

Hello wp specialists,
I am developing a plugin that creates posts programatically.
In the content of the post there is a text that I want to protect so that it cannot be modified by the author of the article. For this I use the following tag:
<span contenteditable="false">
But I notice that when generating the post this tag disappears. How can I prevent wp from removing this tag when the article is generated?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer