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;
});