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.
Contents
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.
Return
(bool) Whether the current user can view hidden attendees.
Source
Changelog
| Version | Description |
|---|---|
| 4.12.0 | Introduced. |