Skip to content

Instantly share code, notes, and snippets.

@ibndawood
Created April 19, 2017 12:21
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Electro - Remove Product Gallery Zoom support
add_action( 'after_setup_theme', 'ec_child_remove_product_gallery_zoom_support', 20 );
function ec_child_remove_product_gallery_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