# Visibility::user_can_post_topic()

Whether the user may create new topics in this forum.

Site forums managers and assigned forum moderators may always post. Private policy uses
`'clanbite_forums_user_can_post_topic'` for other users (same pattern as private read access).

```php
user_can_post_topic( int $viewer_id, object $forum ): bool
```

## Parameters

- `$viewer_id` (int) WordPress user ID (0 = guest).
- `$forum` (object) Forum row.

## Return

`bool`
