-
-
Save danielmcclure/48518aab06cf3cb513b0262ce171ecf8 to your computer and use it in GitHub Desktop.
Disable WooCommerce Product Image 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
<?php | |
/* Disable WooCommerce Product Image Zoom */ | |
add_action( 'after_setup_theme', function() { | |
remove_theme_support( 'wc-product-gallery-zoom' ); | |
}, 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment