apply_filters( 'tribe_tickets_block_ticket_html_attributes', array $attributes , Tribe__Tickets__Ticket_Object $ticket , int $post_id )
Filter the ticket data attributes.
Contents
Parameters
- $attributes
-
(array) A list of data attributes with their values.
- $ticket
-
(Tribe__Tickets__Ticket_Object) The ticket object.
- $post_id
-
(int) The current event ID.
Source
Changelog
| Version | Description |
|---|---|
| 5.16.0 | Added $event_id parameter. |
| 5.1.1 | Introduced. |