Created
May 16, 2018 08:06
-
-
Save RiFi2k/57c1bde17370bfb0ac448120d1a29299 to your computer and use it in GitHub Desktop.
Knocks them all out real quick
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
remove_action('wp_enqueue_scripts', [WC_Frontend_Scripts::class, 'load_scripts']); | |
remove_action('wp_print_scripts', [WC_Frontend_Scripts::class, 'localize_printed_scripts'], 5); | |
remove_action('wp_print_footer_scripts', [WC_Frontend_Scripts::class, 'localize_printed_scripts'], 5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to throw in stylesheets as well
add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );