woocommerce_product_get_image

woocommerce_product_get_image

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_get_image') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 2036
    		if ( ! $image && $placeholder ) {
    			$image = wc_placeholder_img( $size, $attr );
    		}
    
    		return apply_filters( 'woocommerce_product_get_image', $image, $this, $size, $attr, $placeholder, $image );
    	}
    
    	/**
    	 * Returns the product shipping class SLUG.
    	 *
    	 * @return string