Merge pull request #18982 from woocommerce/tweak/get-image-filter
Pass image to get_image_filter as well
This commit is contained in:
commit
f1a69688fa
|
@ -1808,7 +1808,8 @@ class WC_Product extends WC_Abstract_Legacy_Product {
|
||||||
} else {
|
} else {
|
||||||
$image = '';
|
$image = '';
|
||||||
}
|
}
|
||||||
return apply_filters( 'woocommerce_product_get_image', wc_get_relative_url( $image ), $this, $size, $attr, $placeholder );
|
|
||||||
|
return apply_filters( 'woocommerce_product_get_image', wc_get_relative_url( $image ), $this, $size, $attr, $placeholder, $image );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue