WordPress at Your Fingertips
filter is not described

woocommerce_single_product_photoswipe_enabled filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_single_product_photoswipe_enabled', 'filter_function_name_1920' );
function filter_function_name_1920( $theme_support ){
	// filter...

	return $theme_support;
}
$theme_support
-

Where the hook is called

WC_Frontend_Scripts::get_script_data()
woocommerce_single_product_photoswipe_enabled
woocommerce/includes/class-wc-frontend-scripts.php 503
'photoswipe_enabled'        => apply_filters( 'woocommerce_single_product_photoswipe_enabled', get_theme_support( 'wc-product-gallery-lightbox' ) ),

Where in WP core the hook is used WooCommerce

Usage not found.