Skip to content

Instantly share code, notes, and snippets.

@rynaldos-zz
Last active March 20, 2021 02:45
Show Gist options
  • Save rynaldos-zz/843cc1603af9fb6620c3ddf1ceb3f730 to your computer and use it in GitHub Desktop.
Save rynaldos-zz/843cc1603af9fb6620c3ddf1ceb3f730 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