added new hook for Husky text search ‘woof_husky_query_post__in‘. There are two Husky filter modes:
adding a search result with post__in (enabled by default). The advantage of this mode is reliability, because the search takes place in a separate query and all JOINs will not conflict with the main query.
the second one (if you pass false on the hook) – works with the main request and adds it in the old fashioned way via post_where. Pros: does not increase the number of queries to the database.
add_filter('woof_husky_query_post__in', function ($do) {
return false;
});
🌸
Shortcodes, hooks and extensions reference for HUSKY WooCommerce Product Filter
Codex — HUSKY Product Filter
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.