/** * Remove result count from category page */ add_action('init', 'cc_remove_result_count'); function cc_remove_result_count() { remove_action('woocommerce_before_shop_loop', 'woocommerce_result_count', 20); }