Update WooCommerce Products Filter v.3.3.5
- bunch of small fixes
- new hook woof_print_label_attributes allows to add into checkbox and radio tag labels custom attributes, requested in ticket https://pluginus.net/support/topic/aria-describedby/#postid-82977
add_action('woof_print_label_attributes', function ($term) { echo"aria-descrybedby aria-name='{$term}'"; });
- new hook woof_husky_query_post__in allows to manipulate by text filtering using posts ids, requested in ticket https://pluginus.net/support/topic/filter-on-title-description-separate-sku-filter/
- new hook woof_term_count_format – made its possible to change the counter format – by default it transmits ‘(%d)‘
Example:
add_filter('woof_term_count_format', function ($format, $tax_slug) { $format = '|%d|'; return $format; }, 10, 2);
Suggested: https://wordpress.org/support/topic/filter-count-parenthesis/ [...]