Created
March 9, 2018 12:04
-
-
Save yanknudtskov/fb4d9bfa44ebbc895c0a65924566c30a 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