WC_Order_Data_Store_Interface::get_orders()
Get all orders matching the passed in args.
Method of the class: WC_Order_Data_Store_Interface{}
No Hooks.
Return
Array
. of orders
Usage
$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface(); $WC_Order_Data_Store_Interface->get_orders( $args );
- $args(array)
- Arguments.
Default: array()
Notes
- See: wc_get_orders()
WC_Order_Data_Store_Interface::get_orders() WC Order Data Store Interface::get orders code WC 8.7.0
public function get_orders( $args = array() );