# Feed_Context::can_view_post()

Whether a single post carrying this context's visibility slug may be read.

```php
can_view_post( object $post, int $viewer_id ): bool
```

## Parameters

- `$post` (object) Post row.
- `$viewer_id` (int) Viewer user ID.

## Return

`bool`
