Remove Visual Composer meta generator
2018 - 05 - 15
Come rimuovere il meta Tag 'WP Bakery Page Builder'
Da inserire all'interno del file function.php; Sotto 3 metodi per escludere il meta tag.
<meta name="generator" content="Powered by WPBakery Page Builder - drag and drop page builder for WordPress."/>
Remove VC Generator Option #1 Snippet:
add_action('wp_head', 'myoverride', 1); function myoverride() { if ( class_exists( 'Vc_Manager' ) ) { remove_action('wp_head', array(visual_composer(), 'addMetaData')); } }
Remove VC Generator Option #2 Snippet:
//remove a metatag (Powered by Visual Composer) from the wordpress
add_action('init', 'optimize_fixwp_head', 100);
function optimize_fixwp_head() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
Remove VC Generator Option #3 Snippet:
//remove vc generator
add_action('wp_head', 'novcgen', 1);
function novcgen() {
if ( class_exists( 'Vc_Base' ) ) {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
}