-
-
Save INDIAN2020/21e05f6e6028230ac1c73be852e3a3fa to your computer and use it in GitHub Desktop.
Remove Zoom from WooCommerce Galleries
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
| <?php | |
| /* | |
| * Remove Zoom from WooCommerce Galleries | |
| */ | |
| add_action( 'after_setup_theme', 'yanco_after_setup_theme', 100 ); | |
| function yanco_after_setup_theme() { | |
| 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