Tribe__Tickets__Ticket_Object::has_meta_enabled()
Check if the ticket has meta enabled.
Return
(bool) Whether the ticket has meta enabled.
Source
File: src/Tribe/Ticket_Object.php
public function has_meta_enabled() {
/**
* Filters if the ticket has meta or not.
*
* @param bool $has_meta Whether the ticket has meta enabled.
* @param int $ticket_id The ticket ID.
*/
return (bool) apply_filters( 'tribe_tickets_has_meta_enabled', false, $this->ID );
}
Changelog
| Version | Description |
|---|---|
| 5.0.3 | Introduced. |