Clanbite Ranks

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

Permission check for team rank management.

public static

Class: Kernowdev\ClanbiteRanks\Ranks\Team_Ranks

Parameters

$team_id (int) Required

Team post ID.

$user_id (int|null) Optional

Optional user ID (defaults to current user).

Default: null

Returns

bool

Defined in inc/Ranks/Team_Ranks.php