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


Top ↑

Parameters Parameters

$args

(Optional) List of args passed to wc_get_orders().

Default value: array()


Top ↑

Return Return

(array|object)


Top ↑

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.