Tribe__Tickets__RSVP::get_tickets( $post_id,  $context = null )

{@inheritDoc}

Contents


Source

File: src/Tribe/RSVP.php

	public function get_tickets( $post_id ) {
		$ticket_ids = $this->get_tickets_ids( $post_id );
		if ( ! $ticket_ids ) {
			return array();
		}

		$tickets = array();

		foreach ( $ticket_ids as $post ) {
			$tickets[] = $this->get_ticket( $post_id, $post );
		}

		return $tickets;
	}

Top ↑

Changelog

Changelog
Version Description
5.8.0 Added the $context parameter.
4.7 Introduced.