HUSKY - Products Filter Professional for WooCommerce

Як приховати порожні підрахунки?

Посилання на питання: https://pluginus.net/support/topic/how-to-hide-empty-counts/

У файл functions.php додайте наступний код:

add_filter('woof_get_terms_args', function ($args) {
    $args['hide_empty'] = true;
    return $args;
});