We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a85ab commit e9dd1d0Copy full SHA for e9dd1d0
inc/compatibilities/woocommerce.php
@@ -91,6 +91,9 @@ public function should_load_early() {
91
* @return array
92
*/
93
public function filter_cart_item_image( $image, $attachment_id, $size ) {
94
+ if ( ! function_exists( 'is_cart' ) ) {
95
+ return $image;
96
+ }
97
if ( ! is_cart() ) {
98
return $image;
99
}
0 commit comments