WordPress at a glance
filter is not described

woocommerce_gallery_image_html_attachment_image_params filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_gallery_image_html_attachment_image_params', 'filter_function_name_6248', 10, 4 );
function filter_function_name_6248( $array, $attachment_id, $image_size, $main_image ){
	// filter...

	return $array;
}
$array
-
$attachment_id
-
$image_size
-
$main_image
-

Where the hook is called

wc_get_gallery_image_html()
woocommerce_gallery_image_html_attachment_image_params
woocommerce/includes/wc-template-functions.php 1518-1532
apply_filters(
	'woocommerce_gallery_image_html_attachment_image_params',
	array(
		'title'                   => _wp_specialchars( get_post_field( 'post_title', $attachment_id ), ENT_QUOTES, 'UTF-8', true ),
		'data-caption'            => _wp_specialchars( get_post_field( 'post_excerpt', $attachment_id ), ENT_QUOTES, 'UTF-8', true ),
		'data-src'                => esc_url( $full_src[0] ),
		'data-large_image'        => esc_url( $full_src[0] ),
		'data-large_image_width'  => esc_attr( $full_src[1] ),
		'data-large_image_height' => esc_attr( $full_src[2] ),
		'class'                   => esc_attr( $main_image ? 'wp-post-image' : '' ),
	),
	$attachment_id,
	$image_size,
	$main_image
)

Where in WP core the hook is used WooCommerce

Usage not found.