HUSKY - Product Filter for WooCommerce

woof_taxonomy_image

Redefines images of the image filter terms on the fly, depending on the current situation.

add_filter('woof_taxonomy_image', function($image, $term) {
    //change images on the fly depending of the current situation
    if (isset($term->term_id) AND $term->ID === 777 AND intval($_REQUEST['my_condition']) === 23) {
        $image = "https://your_image_url.png";
    }

    return $image;
}, 10, 2);

From v.2.2.5/1.2.5