apply_filters( 'tribe_tickets_user_can_view_hidden_attendees_rest', bool $can_view_hidden_attendees, null|WP_User $user )

Whether the current user can view hidden attendees, for instance, those that opted out of having their data public.


Parameters

$can_view_hidden_attendees

(bool) The default value for whether the user can view hidden attendees.

$user

(null|WP_User) The WP_User instance, if available.


Top ↑

Return

(bool) Whether the current user can view hidden attendees.


Top ↑

Source

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


Top ↑

Changelog

Changelog
Version Description
4.12.0 Introduced.