wc_processing_order_count

Return the count of processing orders.

Description

(int) wc_processing_order_count(); 

Returns (int)


Usage

  1. if ( !function_exists( 'wc_processing_order_count' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-order-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wc_processing_order_count(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-order-functions.php  
  1. function wc_processing_order_count() { 
  2. return wc_orders_count( 'processing' );