tribe_events_product_is_ticket( $product )
Determines if the product object (or product ID) represents a ticket for an event.
Contents
Parameters
- $product
-
(Required)
Return
(bool)
Source
File: src/template-tags/tickets.php
function tribe_events_product_is_ticket( $product ) {
$matching_event = tribe_events_get_ticket_event( $product );
return ( false !== $matching_event );
}