Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created January 16, 2017 14:39
Show Gist options
  • Save jameskoster/5a0faea7d06c7ac01e89a3b5832e74a6 to your computer and use it in GitHub Desktop.
Save jameskoster/5a0faea7d06c7ac01e89a3b5832e74a6 to your computer and use it in GitHub Desktop.
WooCommerce disable magnification / zoom
add_action( 'wp_enqueue_scripts', 'jk_disable_magnification' );
function jk_disable_magnification() {
wp_dequeue_script( 'zoom' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment