woocommerce_product_thumbnails_large_size │ filter-hook │ WC 3.0.0

Filters the product thumbnails large image size.

Usage

add_filter( 'woocommerce_product_thumbnails_large_size', 'wp_kama_woocommerce_product_thumbnails_large_size_filter' );

/**
 * Function for `woocommerce_product_thumbnails_large_size` filter-hook.
 * 
 * @param string|array $size Image size.
 *
 * @return string|array
 */
function wp_kama_woocommerce_product_thumbnails_large_size_filter( $size ){
	// filter...
	return $size;
}
$size(string|array)
Image size.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

ProductMediaGallery::get_gallery_video_html()
woocommerce_product_thumbnails_large_size
woocommerce/src/Internal/ProductGallery/ProductMediaGallery.php 408
apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' )

Where the hook is used in WooCommerce

Usage not found.