Tribe__Tickets__Tickets::get_tickets( int $post_id, string|null $context = null )

Returns all the tickets for an event, of the active ticket providers.


Parameters

$post_id

(int) (Required) ID of parent "event" post.

$context

(string|null) (Optional) The context of the request.

Default value: null


Top ↑

Return

(Tribe__Tickets__Ticket_Object[]) List of ticket objects.


Top ↑

Source

File: src/Tribe/Tickets.php

		public function get_tickets( $post_id ) {}

Top ↑

Changelog

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