Created
July 22, 2016 02:56
-
-
Save shawnkfinn/15f9250cd3ca9bf72bc009df800ca7cf to your computer and use it in GitHub Desktop.
Remove Visual Composer Meta Data from source code
This file contains hidden or 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
<?php // Copy and Paste snippet below into child-theme functions or custom plugin -- DELETE THIS LINE | |
// Remove Visual Composer Meta Data from source code | |
add_action('init', 'skf_remove_vc_metadata', 100); | |
function skf_remove_vc_metadata() { | |
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