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.


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.


Top ↑

Source

File: src/Tribe/REST/V1/Post_Repository.php


Top ↑

Changelog

Changelog
Version Description
4.10.2 Introduced.