Clanbite

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

Whether the user is a team admin on the front end.

public

Class: Kernowdev\Clanbite\Extensions\Teams

Parameters

$team_id (int) Required

Team post ID.

$user_id (int|null) Optional

User ID or null for current user.

Default: null

Returns

bool

Defined in inc/extensions/teams/class-extension-teams.php