Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableDataStore::get_orders
Deprecated since 3.1.0. It is no longer supported and may be removed in future releases. See
{@see wc_get_orders}.Get all orders matching the passed in args.
Method of the class: OrdersTableDataStore{}
No Hooks.
Returns
Array|Object.
Usage
$OrdersTableDataStore = new OrdersTableDataStore(); $OrdersTableDataStore->get_orders( $args );
- $args(array)
- List of args passed to wc_get_orders().
Default:array()
Changelog
| Deprecated since 3.1.0 | - Use {@see wc_get_orders} instead. |
OrdersTableDataStore::get_orders() OrdersTableDataStore::get orders code WC 10.7.0
public function get_orders( $args = array() ) {
wc_deprecated_function( __METHOD__, '3.1.0', 'Use wc_get_orders instead.' );
return wc_get_orders( $args );
}