Clanbite

clanbite_teams_get_member_role( int $team_id, int $user_id ): string|null

Role slug for a member, or null if they are not on the roster (and not the owner fallback).

Parameters

$team_id (int) Required

Team post ID.

$user_id (int) Required

User ID.

Returns

string|null

Defined in inc/extensions/teams/functions.php