Recent

wzkb_product_card_imagefilter

wzkb_product_card_image

Filter the image HTML inserted before the product card title.

Type: filter
Since: 3.1.0
Source: includes/frontend/class-display.php line 1076

Parameters

Type Name Description
string $html Image HTML. Empty by default.
\WP_Term $product_term Product term object.

Usage

add_filter( 'wzkb_product_card_image', function($html, $product_term) {
    // ...
    return $html;
} );