apply_filters( 'tribe_tickets_rest_api_always_show_attendee_data', bool $always_show_attendees_data , array $data )
Allow filtering to always show attendees data on tickets in the REST API. This bypasses checks for Attendees shortcode or block in the associated event/post content for the ticket.
Contents
Parameters
- $always_show_attendees_data
-
(bool) Whether to always show attendees data. By default, Admin and Editor can see this information.
- $data
-
(array) Ticket REST data.
Source
Changelog
| Version | Description |
|---|---|
| 4.10.2 | Introduced. |