HUSKY - Products Filter Professional for WooCommerce

更新 WooCommerce Products Filter v.2.2.6

  • WOOF 管理面板新设计
  • 新扩展 ‘SEO URL request‘, search parameters become part of the URL.
  • 新钩子‘woof_meta_options_separator‘ 需要替换选项中的逗号分隔符,当 meta 包含作为选项一部分的逗号时很有用,例如:
    add_filter('woof_meta_options_separator', function ($sep) {
        $sep = '|';
        return $sep;
    });
    

  • 新钩子‘woof_image_allow_term_desc‘,默认情况下,为图片添加了术语的描述,现在可以将其关闭。 默认值为 true。例如:
    add_filter('woof_image_allow_term_desc', function ($show) {
        return false;
    });
    
  • 新钩子‘woof_mobile_btn_place_container‘ – you can override the selector where the mobile filter button should appear. By default is css class ‘.woocommerce-products-header‘. 代码示例:
    add_filter('woof_mobile_btn_place_container', function ($selector) {
        $selector = '#my_woof_btn_place'; //your id or css class (.my_woof_btn_place)
        return $selector;
    });
    
  • 新钩子‘woof_exclude_existing_variations‘,这会提高 有货 搜索。需要,因为并非每个人都需要搜索结果中的变体,并且还可以避免过多的请求。默认值为 false。示例:
    add_filter('woof_exclude_existing_variations', function ($init) {
        $init = true;
        return $init;
    });
    

  • 图像扩展的新选项 ‘单选按钮行为