# clanbite_event_viewer_can_see

Filter whether the viewer can see an event.

Use this to enforce visibility rules for custom event types (e.g. Groups).

```php
apply_filters( 'clanbite_event_viewer_can_see', bool $can, string $event_type, int $event_id, int $viewer_id )
```

## Parameters

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