woocommerce_single_product_image_gallery_classes хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_single_product_image_gallery_classes', 'wp_kama_woocommerce_single_product_image_gallery_classes_filter' );

/**
 * Function for `woocommerce_single_product_image_gallery_classes` filter-hook.
 * 
 * @param  $condition 
 *
 * @return 
 */
function wp_kama_woocommerce_single_product_image_gallery_classes_filter( $condition ){

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

Где вызывается хук

В файле: /templates/single-product/product-image.php
woocommerce_single_product_image_gallery_classes
woocommerce/templates/single-product/product-image.php 29-37
$wrapper_classes   = apply_filters(
	'woocommerce_single_product_image_gallery_classes',
	array(
		'woocommerce-product-gallery',
		'woocommerce-product-gallery--' . ( $post_thumbnail_id ? 'with-images' : 'without-images' ),
		'woocommerce-product-gallery--columns-' . absint( $columns ),
		'images',
	)
);

Где используется хук в WooCommerce

Использование не найдено.