user_can_post_topic( int $viewer_id, object $forum ): boolWhether 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).
public static
Class: Kernowdev\ClanbiteForums\Forums\Visibility
Parameters
$viewer_id(int) RequiredWordPress user ID (0 = guest).
$forum(object) RequiredForum row.
Returns
bool
Defined in inc/Forums/Visibility.php