Created
August 19, 2021 11:10
-
-
Save flabernardez/6d7577713e9d17b60c6148d36bd973b1 to your computer and use it in GitHub Desktop.
#woocommerce disable product on hover zoom effect
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 | |
add_action( 'wp', 'remove_image_zoom_support', 100 ); | |
function remove_image_zoom_support() { | |
remove_theme_support( 'wc-product-gallery-zoom' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment