Clanbite

clanbite_teams_user_can_manage( int $team_id, ?int $user_id = null ): bool

Whether the user may use the front-end manage UI (editor/admin roster, or site admin).

Parameters

$team_id (int) Required

Team post ID.

$user_id (int|null) Optional

User ID, or null for the current user.

Default: null

Returns

bool

Defined in inc/extensions/teams/functions.php