# clanbite_social_kit_can_view_post

Filters whether a viewer may read a single social post.

Runs for every post action that checks visibility (single post, comments, reactions, shares). Return false to hide
a post; returning true for a post the plugin denied exposes it, so apply your own check first.

```php
apply_filters( 'clanbite_social_kit_can_view_post', bool $can, object $post, int $viewer_id )
```

## Parameters

- `$can` (bool) Whether the viewer may read the post.
- `$post` (object) Row from cp_social_posts.
- `$viewer_id` (int) Current user (0 if logged out).
