# Event_Permissions::can_view_attendees()

Whether the viewer may see the RSVP / attendee list for an event post.

```php
can_view_attendees( WP_Post $post, int $viewer_id ): bool
```

## Parameters

- `$post` (\WP_Post) Event post.
- `$viewer_id` (int) Viewer user ID (0 = guest).

## Return

`bool`
