Created
January 16, 2017 14:39
-
-
Save jameskoster/5a0faea7d06c7ac01e89a3b5832e74a6 to your computer and use it in GitHub Desktop.
WooCommerce disable magnification / zoom
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_enqueue_scripts', 'jk_disable_magnification' ); | |
function jk_disable_magnification() { | |
wp_dequeue_script( 'zoom' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment