woocommerce_single_product_image_thumbnail_html filter-hookWC 1.0

Usage

add_filter( 'woocommerce_single_product_image_thumbnail_html', 'wp_kama_woocommerce_single_product_image_thumbnail_html_filter', 10, 2 );

/**
 * Function for `woocommerce_single_product_image_thumbnail_html` filter-hook.
 * 
 * @param  $wc_get_gallery_image_html 
 * @param  $attachment_id             
 *
 * @return 
 */
function wp_kama_woocommerce_single_product_image_thumbnail_html_filter( $wc_get_gallery_image_html, $attachment_id ){

	// filter...
	return $wc_get_gallery_image_html;
}
$wc_get_gallery_image_html
-
$attachment_id
-

Where the hook is called

In file: /templates/single-product/product-thumbnails.php
woocommerce_single_product_image_thumbnail_html
woocommerce/templates/single-product/product-thumbnails.php 31
echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', wc_get_gallery_image_html( $attachment_id ), $attachment_id ); // phpcs:disable WordPress.XSS.EscapeOutput.OutputNotEscaped
woocommerce/templates/single-product/product-image.php 50
echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', $html, $post_thumbnail_id ); // phpcs:disable WordPress.XSS.EscapeOutput.OutputNotEscaped

Where the hook is used in WooCommerce

Usage not found.