eo_get_event_tickets_on_sale
since 1.4
Pro
eo_get_event_tickets_on_sale( $post_id, $occurrence_ids )
Retrieve a list of tickets for this event which are currently on sale.
Arguments are identical to eo_get_event_tickets()
Returns an array of tickets of the form
ticket ID => array(
name => [Ticket Name]
spaces => [How Many Spaces this ticket was *created* with]
price => [The ticket price]
occurrence_ids => [Array of occurrence IDs corresponding to the dates this ticket is available]
mid => [Ticket ID (meta table ID)]
to => [DateTime when ticket is valid till / false if indefinite]
from => [DateTime when ticket is valid from / false if indefinite]
)
Parameters
int
|
$post_id |
The Event (post) ID
|
|
$occurrence_ids |
|
Return value
array
|
An array of tickets
|
Changelog