# Social_Kit::events_group_can_view_attendees()

Allow group managers to view attendee lists when hidden.

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

## Parameters

- `$can_view_attendees` (bool) Whether the viewer can see attendee list.
- `$event_type` (string) Event type slug.
- `$event_id` (int) Event ID.
- `$viewer_id` (int) Viewer ID (0 for anon).

## Return

`bool`
