Created
May 29, 2019 11:48
-
-
Save nfsarmento/d8f938db5d737d25f3e1012433ce9bc5 to your computer and use it in GitHub Desktop.
How to Remove Visual Composer (WP Bakery Page Builder) meta generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* remove vc generator | |
*/ | |
add_action('wp_head', 'ns_novcgen', 1); | |
function ns_novcgen() { | |
if ( class_exists( 'Vc_Base' ) ) { | |
remove_action('wp_head', array(visual_composer(), 'addMetaData')); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment