WC_Order_Data_Store_Interface::get_order_count()publicWC 1.0

Return count of orders with a specific status.

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.

WC_Order_Data_Store_Interface::get_order_count() code WC 8.7.0

public function get_order_count( $status );