Ever wanted to remove Visual Composer / WP Bakery shortcodes from your content?

SQL Query that removes Visual Composer / WP Bakery Shortcodes from your content. Here's how. REMEBER TO MAKE A BACKUP AND CHANGE YOUR DB_PREFIX IN THE QUERY TO WHATEVER YOU HAVE SET

UPDATE wp_posts SET post_content = REGEXP_REPLACE(post_content, "\\[\/?vc(.*?)\]", "");

Pin It on Pinterest

Share This
Web Development 101How to remove visual composer shortcodes when switching to Divi or any other theme