Clanbite Forums

clanbite_forums_user_passes_site_read_access( int $user_id, object $forum ): bool

Whether the viewer passes the **site-wide** read gate for a forum (per-forum visibility is separate).

Namespace: Kernowdev\ClanbiteForums

Parameters

$user_id (int) Required

WordPress user ID (0 = guest).

$forum (object) Required

Forum row (id used for moderator check).

Returns

bool

Defined in inc/functions.php