apply_filters( 'tec_tickets_commerce_archive_attendee_delete_permanently', WP_Post $attendee , Tribe__Tickets__Ticket_Object $ticket , WP_Post $post )
Allows filtering whether an attendee should archived, or hard-deleted from the database.
Contents
To permanently delete an attendee, this filter must return a boolean false. Any other value will fallback to archiving.
Parameters
- $attendee
-
(WP_Post) the attendee data
- $ticket
-
(Tribe__Tickets__Ticket_Object) the ticket
- $post
-
(WP_Post) the order
Source
File: src/Tickets/Commerce/Flag_Actions/Archive_Attendees.php
Changelog
| Version | Description |
|---|---|
| 5.2.1 | Introduced. |