Skip to content

Instantly share code, notes, and snippets.

@robhob
Forked from rynaldos-zz/remove-pgzoom-theme.php
Last active August 18, 2017 06:52
Show Gist options
  • Save robhob/adb0c46956cd7683119eb3aa92d12913 to your computer and use it in GitHub Desktop.
Save robhob/adb0c46956cd7683119eb3aa92d12913 to your computer and use it in GitHub Desktop.
[WooCommerce 3.0+] Remove product gallery zoom feature
add_action( 'after_setup_theme', 'remove_pgz_theme_support', 100 );
function remove_pgz_theme_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