Last active
April 20, 2019 18:19
-
-
Save yuriitaran/f885b4c5e7b165dea84e599a448a1fbf to your computer and use it in GitHub Desktop.
WP: remove Visual Composer scripts from front-end
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
add_action('wp_print_scripts', function () { | |
wp_deregister_script('wpb_composer_front_js'); | |
wp_dequeue_script('wpb_composer_front_js'); | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment