WC_Order_Data_Store_Interface::get_order_count() public WC 1.0
Return count of orders with a specific status.
{} It's a method of the class: WC_Order_Data_Store_Interface{}
No Hooks.
Return
Int.
Usage
$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface(); $WC_Order_Data_Store_Interface->get_order_count( $status );
- $status(string) (required)
- Order status.
Code of WC_Order_Data_Store_Interface::get_order_count() WC Order Data Store Interface::get order count WC 5.0.0
public function get_order_count( $status );