Warning: This method has been deprecated. Use wc_get_orders() instead.
WC_Order_Data_Store_CPT::get_orders( array $args = array() )
Get all orders matching the passed in args.
Description Description
See also See also
Parameters Parameters
- $args
-
(Optional) List of args passed to wc_get_orders().
Default value: array()
Return Return
(array|object)
Source Source
File: includes/data-stores/class-wc-order-data-store-cpt.php
public function get_orders( $args = array() ) { wc_deprecated_function( 'WC_Order_Data_Store_CPT::get_orders', '3.1.0', 'Use wc_get_orders instead.' ); return wc_get_orders( $args ); }
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |