woocommerce_product_get_image filter-hookWC 1.0

Usage

add_filter( 'woocommerce_product_get_image', 'wp_kama_woocommerce_product_get_image_filter', 10, 5 );

/**
 * Function for `woocommerce_product_get_image` filter-hook.
 * 
 * @param  $image       
 * @param  $that        
 * @param  $size        
 * @param  $attr        
 * @param  $placeholder 
 *
 * @return 
 */
function wp_kama_woocommerce_product_get_image_filter( $image, $that, $size, $attr, $placeholder ){

	// filter...
	return $image;
}
$image
-
$that
-
$size
-
$attr
-
$placeholder
-

Where the hook is called

WC_Product::get_image()
woocommerce_product_get_image
woocommerce/includes/abstracts/abstract-wc-product.php 1999
return apply_filters( 'woocommerce_product_get_image', $image, $this, $size, $attr, $placeholder, $image );

Where the hook is used in WooCommerce

Usage not found.