WordPress at Your Fingertips
function is not described

WC_Order_Data_Store_CPT::get_orders() public WC 1.0

Deprecated from version 3.1.0. It is no longer supported and can be removed in future releases. Use wc_get_orders instead.

Get all orders matching the passed in args.

{} It's a method of the class: WC_Order_Data_Store_CPT{}

No Hooks.

Return

Array|Object.

Usage

$WC_Order_Data_Store_CPT = new WC_Order_Data_Store_CPT();
$WC_Order_Data_Store_CPT->get_orders( $args );
$args(array)
List of args passed to wc_get_orders().
Default: array()

Notes

Changelog

Deprecated Since 3.1.0 - Use wc_get_orders instead.

Code of WC_Order_Data_Store_CPT::get_orders() WC 5.8.0

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 );
}