HUSKY - WooCommerce Products Filter Professional

Botoscope is currently in early access

woof_text_search_query

Allows to redefine text search SQL request on the fly

add_filter('woof_text_search_query', function($where, $woof_text) {

    global $wpdb;

    $where .= "AND $wpdb->posts.ID IN(15,39,121)";

    return $where;
}, 99, 2);
From v.2.2.5/1.2.5 [...]

woof_taxonomy_image

Allows to redefine images of the image filter term on the fly depending of 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) === 23) {
        $image = "https://your_image_url.png";
    }

    return $image;
}, 10, 2);
From v.2.2.5/1.2.5   [...]

woof_html_types_view_select

From ver.2.2.4/1.2.4 Using this hook it is possible to rewrite view of file: \views\html_types\select.php   [...]

woof_html_types_view_mselect

From ver.2.2.4/1.2.4 Using this hook it is possible to rewrite view of file: \views\html_types\mselect.php   [...]

woof_html_types_view_radio

From ver.2.2.4/1.2.4 Using this hook it is possible to rewrite view of file: \views\html_types\radio.php   [...]

woof_html_types_view_checkbox

From ver.2.2.4/1.2.4 Using this hook it is possible to rewrite view of file: \views\html_types\checkbox.php   [...]

woof_get_terms_args

From ver.2.2.4/1.2.4 This hook is added for compatibility with other plugins.

  • file: \classes\helper.php
  • public static function get_terms
[...]

woof_get_filtered_price_query

From ver.2.2.4/1.2.4 This hook is added for compatibility with other plugins.

  • file: \classes\helper.php
  • public static function get_filtered_price
[...]