WordPress at a glance
filter is not described

woocommerce_image_sizes_to_resize filter-hook . WC 1.0

If an intermediate size meta differs from the actual image size (settings were changed?) return false so the wrong size is not used.

Usage

add_filter( 'woocommerce_image_sizes_to_resize', 'filter_function_name_137' );
function filter_function_name_137( $data ){
	// filter...

	return $data;
}
$data(array)
Size data.

Where the hook is called

WC_Regenerate_Images::filter_image_get_intermediate_size()
woocommerce_image_sizes_to_resize
WC_Regenerate_Images::maybe_resize_image()
woocommerce_image_sizes_to_resize
woocommerce/includes/class-wc-regenerate-images.php 71
if ( ! is_string( $size ) || ! in_array( $size, apply_filters( 'woocommerce_image_sizes_to_resize', array( 'woocommerce_thumbnail', 'woocommerce_gallery_thumbnail', 'woocommerce_single', 'shop_thumbnail', 'shop_catalog', 'shop_single' ) ), true ) ) {
woocommerce/includes/class-wc-regenerate-images.php 207
if ( ! $image || ! in_array( $size, apply_filters( 'woocommerce_image_sizes_to_resize', array( 'woocommerce_thumbnail', 'woocommerce_gallery_thumbnail', 'woocommerce_single', 'shop_thumbnail', 'shop_catalog', 'shop_single' ) ), true ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.