Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danielmcclure/48518aab06cf3cb513b0262ce171ecf8 to your computer and use it in GitHub Desktop.
Save danielmcclure/48518aab06cf3cb513b0262ce171ecf8 to your computer and use it in GitHub Desktop.
Disable WooCommerce Product Image Zoom
<?php
/* Disable WooCommerce Product Image Zoom */
add_action( 'after_setup_theme', function() {
remove_theme_support( 'wc-product-gallery-zoom' );
}, 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment