Clanbite

events_can_view_match_attendees( bool $can_view_attendees, string $event_type, int $event_id, int $viewer_id ): bool

Allow team members/admins to view match attendee lists when hidden.

public

Class: Kernowdev\Clanbite\Extensions\Matches

Parameters

$can_view_attendees (bool) Required

Whether attendees are visible per settings.

$event_type (string) Required

Event type.

$event_id (int) Required

Event ID.

$viewer_id (int) Required

Viewer user ID (0 for anon).

Returns

bool

Defined in inc/extensions/matches/class-extension-matches.php