Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mono96/ee1727b0af89da22f553935d62e32e65 to your computer and use it in GitHub Desktop.
Save mono96/ee1727b0af89da22f553935d62e32e65 to your computer and use it in GitHub Desktop.
woocommerce_product_Image_Zoom_functionality.php
/* Woocommerce 虫眼鏡なし */
add_action( 'after_setup_theme', 'bc_remove_magnifier', 100 );
function bc_remove_magnifier() {
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