Order::get_tickets()

Get list of tickets for the order.


Return #

(array) List of tickets for the order.


Top ↑

Source #

File: src/Tribe/Payouts/Order.php

	public function get_tickets() {
		// Get list of receivers.
		$receivers = $this->get_receivers();

		$tickets = [
			[],
		];

		foreach ( $receivers as $receiver ) {
			$tickets[] = $receiver->get_tickets();
		}

		$tickets = array_merge( ...$tickets );

		return $tickets;
	}

Top ↑

Changelog #

Changelog
Version Description
4.7.1 Introduced.