HUSKY - Products Filter Professional for WooCommerce

更新 WooCommerce Products Filter v.3.3.5

  • 一堆小修复
  • 新钩子 woof_print_label_attributes 允许在复选框和单选标签的标签中添加自定义属性,如工单中所要求 https://pluginus.net/support/topic/aria-describedby/#postid-82977
    add_action('woof_print_label_attributes', function ($term) {
        echo"aria-descrybedby aria-name='{$term['name']}'";
    });
    
  • 新钩子 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/
  • 新钩子 woof_term_count_format – 使计数器格式可变 – 默认情况下传输“(%d)

    Example:
    add_filter('woof_term_count_format', function ($format, $tax_slug) {
        $format = '|%d|';
        return $format;
    }, 10, 2);
    

    推荐: https://wordpress.org/support/topic/filter-count-parenthesis/

  • 新扩展“库存数量滑块” – 按库存数量搜索(范围滑块)
  • new option ‘类型‘ 对于分类滑块,允许显示带有一个或两个滑块的分类范围滑块

  • 对于前端构建器的短代码,现在可以更改别名

    要更改此短代码的别名 slug,请导航到插件设置,选择“高级‘ 选项卡,然后继续到 ‘前端构建器表单的 Slug 别名