do_action( 'tec_tickets_ticket_add', int $post_id , Tribe__Tickets__Ticket_Object $ticket , array $raw_data , string $class )
Fired once a ticket has been created.
Contents
Parameters
- $post_id
-
(int) The ticket parent post ID.
- $ticket
-
(Tribe__Tickets__Ticket_Object) The ticket that was just added.
- $raw_data
-
(array) The ticket data that was used to save.
- $class
-
(string) The Commerce engine class name.
Source
File: src/Tribe/Tickets.php
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |