Last active
June 17, 2017 21:13
-
-
Save mrfoxtalbot/eccb9643d6c5b68d8281e75d1fb79ba7 to your computer and use it in GitHub Desktop.
Disable WooCommerce Sticky scroll in checkout
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
<?php | |
function removebadsticky_woocommerce_scripts() { | |
wp_deregister_script( 'storefront-sticky-payment'); | |
} | |
add_action( 'wp_enqueue_scripts', 'removebadsticky_woocommerce_scripts' , 90 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great, thanks a lot!