WordPress at Your Fingertips
function is not described

WC_Tracker::get_orders() private WC 1.0

Combine all order data.

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

No Hooks.

Return

Array.

Usage

$result = WC_Tracker::get_orders();

Code of WC_Tracker::get_orders() WC 5.9.0

private static function get_orders() {
	$order_dates    = self::get_order_dates();
	$order_counts   = self::get_order_counts();
	$order_totals   = self::get_order_totals();
	$order_gateways = self::get_orders_by_gateway();

	return array_merge( $order_dates, $order_counts, $order_totals, $order_gateways );
}