apply_filters( 'tec_tickets_qr_checkin_failure_rest_response', WP_REST_Response $response , int $attendee_id , int $event_id , Tribe__Tickets__Tickets $ticket_provider )
Filters the REST Response returned on failure to check in an Attendee via QR code.
Contents
Parameters
- $response
-
(WP_REST_Response) The failure response, as prepared following the default logic.
- $attendee_id
-
(int) The post ID of the Attendee to check in.
- $event_id
-
(int) The ID of the ticket-able post the Attendee is trying to check-in to. While the name would suggest so, this can be the ID of any post type, not just Events.
- $ticket_provider
-
(Tribe__Tickets__Tickets) The commerce module used by the Attendee.
Source
Changelog
| Version | Description |
|---|---|
| 5.8.2 | Introduced. |