woocommerce_thumbnail_size

woocommerce_thumbnail_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_thumbnail_size') is found 1 times:

  • /includes/wc-product-functions.php line 929
    		$props['gallery_thumbnail_src_w'] = $src[1];
    		$props['gallery_thumbnail_src_h'] = $src[2];
    
    		// Thumbnail version.
    		$thumbnail_size       = apply_filters( 'woocommerce_thumbnail_size', 'woocommerce_thumbnail' );
    		$src                  = wp_get_attachment_image_src( $attachment_id, $thumbnail_size );
    		$props['thumb_src']   = $src[0];
    		$props['thumb_src_w'] = $src[1];
    		$props['thumb_src_h'] = $src[2];
    
    		// Image source.