How can I delete all <div some_attributes="values"> from wp_posts content table in mysql

I have a wordpress site with wp_posts (content) over 1GB data. there are some content with or only
I want to delete the Total tag with those styles and classes.
I tried to use
update wp_posts set post_content=replace(post_content, '

','')

but it’s not working..

Read more here: How can I delete all <div some_attributes="values"> from wp_posts content table in mysql

Leave a Reply

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