Support › General › Remove HTML Tags
Im using a form on my site to create a post. Im pulling the Post Content field so it showing the edit like it does with a regular post - https://cln.sh/vZYINx
However, when I save the post and go over to see the content in my wordpress post it has HTML tags wrapped around it https://cln.sh/ESDQOH.
How can I set either the custom field or something so that it doesn't bring over the HTML tags, just the content.
Thanks in advnce for your help
For the field WYSIWYG, you can set the setting raw to true to prevent data from being passed through wpautop() on save. Or use custom sanitization to remove all HTML tags.
Read more on the documentation