Created
July 3, 2018 13:30
-
-
Save rushijagani/a7d7434b8e17a7eff03ea5ebfa3a6ee7 to your computer and use it in GitHub Desktop.
Remove the Woocommerce support for zooming effect
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 | |
| /** | |
| * @return remove woocommerce support for zooming effect | |
| */ | |
| add_action( 'after_setup_theme', 'astra_child_remove_woocommerce_support', 20 ); | |
| function astra_child_remove_woocommerce_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