woocommerce_single_product_zoom_enabled filter-hookWC 1.0

Usage

add_filter( 'woocommerce_single_product_zoom_enabled', 'wp_kama_woocommerce_single_product_zoom_enabled_filter' );

/**
 * Function for `woocommerce_single_product_zoom_enabled` filter-hook.
 * 
 * @param  $theme_support 
 *
 * @return 
 */
function wp_kama_woocommerce_single_product_zoom_enabled_filter( $theme_support ){

	// filter...
	return $theme_support;
}
$theme_support
-

Where the hook is called

WC_Frontend_Scripts::get_script_data()
woocommerce_single_product_zoom_enabled
woocommerce/includes/class-wc-frontend-scripts.php 525
'zoom_enabled'              => apply_filters( 'woocommerce_single_product_zoom_enabled', get_theme_support( 'wc-product-gallery-zoom' ) ),

Where the hook is used in WooCommerce

Usage not found.