# Matches::viewer_can_see_match()

Whether the current viewer may see a match.

```php
viewer_can_see_match( WP_Post $post, int $viewer_id = 0 ): bool
```

## Parameters

- `$post` (WP_Post) Match post.
- `$viewer_id` (int) Viewer user ID (0 for guests).

## Return

`bool`
