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
[...]
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
[...]
From ver.2.2.4/1.2.4
Using this hook it is possible to rewrite view of file: \views\html_types\select.php
[...]
From ver.2.2.4/1.2.4
Using this hook it is possible to rewrite view of file: \views\html_types\mselect.php
[...]
From ver.2.2.4/1.2.4
Using this hook it is possible to rewrite view of file: \views\html_types\radio.php
[...]
From ver.2.2.4/1.2.4
Using this hook it is possible to rewrite view of file: \views\html_types\checkbox.php
[...]
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
[...]
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
[...]
From ver.2.2.4/1.2.4
For displaying any business content on the top of the filtration results
[...]
From v.2.2.4/1.2.4
Allows to add custom sort for catalog
[...]