Created
April 11, 2017 08:59
-
-
Save bigdigital/21f495188841e0beef936e52c1a4d04d to your computer and use it in GitHub Desktop.
WooCommerce disable magnification / zoom
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_enqueue_scripts', 'dt_disable_wc_zomm' ); | |
function dt_disable_wc_zomm() { | |
wp_dequeue_script( 'zoom' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment