Tribe__Tickets_Plus__Commerce__EDD__Main::get_tickets( $post_id )
{@inheritDoc}
Source
File: src/Tribe/Commerce/EDD/Main.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 ) {
$ticket = $this->get_ticket( $post_id, $post );
if ( __CLASS__ !== $ticket->provider_class ) {
continue;
}
$tickets[] = $ticket;
}
return $tickets;
}