Is there a way to stop WordPress from automatically inserting tags when using the API to post content?

I am using the API to automatically post blog content. In software, I create the HTML I want and then use the API to create the post but the result contains a bunch of
and

so that before every table in my document has four or more
before it.

What can I do to prevent WP from helping me out here? My question is similar to this one but I am not using the editor at all. It’s just an API call.

In that question, they suggest adding a filter but the API has no option for adding filters. Is that something I have to do manually?

Read more here:: <a href=https://wordpress.stackexchange.com/questions/315940/is-there-a-way-to-stop-wordpress-from-automatically-inserting-br-tags-when-usi target="_blank" title="Is there a way to stop WordPress from automatically inserting
tags when using the API to post content?” rel=nofollow>Is there a way to stop WordPress from automatically inserting
tags when using the API to post content?

Leave a Reply

Your email address will not be published. Required fields are marked *