# Matches::events_can_view_match_attendees()

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

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

## Parameters

- `$can_view_attendees` (bool) Whether attendees are visible per settings.
- `$event_type` (string) Event type.
- `$event_id` (int) Event ID.
- `$viewer_id` (int) Viewer user ID (0 for anon).

## Return

`bool`
