WordPress at a glance
function is not described

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 5.0.0

<?php
public function get_order_count( $status );