Clanbite

clanbite_teams_user_is_site_admin( ?int $user_id = null ): bool

Whether the user bypasses roster checks as a site/network administrator.

Parameters

$user_id (int|null) Optional

User ID, or null for the current user.

Default: null

Returns

bool False when Teams is inactive.

Defined in inc/extensions/teams/functions.php