Update WooCommerce Products Filter v.2.2.9
- heap of small fixes
- 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; });