How To Remove Visual Composer Generator Tag In WordPress
How to Remove the Visual Composer Generator Tag
This piece of code can be added your website's functions.php file, a site-specific plugin, or to your child theme. The code also performs a check to see if Visual Composer is actually installed. That way in the event Visual Composer is disabled, your website will not face the white screen of death.if ( class_exists( 'Vc_Manager' ) ) {
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
add_action('init', 'myoverride', 100);
}
After adding the code the Visual Composer Generator Tag should be removed from the front-end of your website.
If you need to remove the WordPress Meta Generator Tag, please consult this tutorial here.
Scott Hartley
Founder & CEO, Sert Media
Founder and CEO of Sert Media, a Nashville-based digital marketing agency. Scott has spent over 15 years helping businesses grow through SEO, web performance optimization, and strategic digital marketing. His deep expertise in WordPress development, site speed, and technical SEO has guided hundreds of brands toward measurable results. When he's not auditing Core Web Vitals or refining campaign strategies, he's writing about the tools, techniques, and trends shaping the modern web.
Related Articles
How to Add Security Headers to WordPress Using Cloudflare Transform Rules
If you've ever run your WordPress site through securityheaders.com and gotten a D or F…
Use This Cloudflare Rule To Reduce Plugin Hack Attempts
Cloudflare Firewall Rules give you a lot of flexibility in further protecting your website. Here…
Set Up Cloudflare's Automatic Platform Optimization Feature
Automatic Platform Optimization (APO) is a new feature from Cloudflare that allows you to cache…