clanbite_teams_user_is_team_admin( int $team_id, ?int $user_id = null ): boolWhether the user may edit the roster (team admin or site admin).
Parameters
$team_id(int) RequiredTeam post ID.
$user_id(int|null) OptionalUser ID, or
nullfor the current user.Default:
null
Returns
bool
Defined in inc/extensions/teams/functions.php