From 050d702f49e0479dffe5e0b592786058a8487906 Mon Sep 17 00:00:00 2001 From: brakf Date: Mon, 24 Feb 2020 08:22:34 +0100 Subject: [PATCH] move filter to wp-order-functions.php --- includes/wc-order-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/wc-order-functions.php b/includes/wc-order-functions.php index aff72785d3e..8c9c8476f36 100644 --- a/includes/wc-order-functions.php +++ b/includes/wc-order-functions.php @@ -317,7 +317,7 @@ function wc_register_order_type( $type, $args = array() ) { * @return int */ function wc_processing_order_count() { - return wc_orders_count( 'processing' ); + return apply_filters( 'woocommerce_modify_processing_order_count_in_menu', wc_orders_count( 'processing' ) ); } /**