move filter to wp-order-functions.php

This commit is contained in:
brakf 2020-02-24 08:22:34 +01:00 committed by GitHub
parent 326c2f2320
commit 050d702f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) );
}
/**