Last active
April 28, 2016 03:12
-
-
Save JeffMatson/a68cebd66cb34e31e7d0812038ce2147 to your computer and use it in GitHub Desktop.
Nuke wc-cart-fragments
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
add_action( 'wp_print_scripts', 'nuke_cart_fragments', 100 ); | |
function nuke_cart_fragments() { | |
wp_dequeue_script( 'wc-cart-fragments' ); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment