Clanbite

clanbite_teams_get_owner_id( int $team_id ): int

User ID of the team owner (post_author of the cp_team post).

Parameters

$team_id (int) Required

Team post ID.

Returns

int 0 if the post has no author.

Defined in inc/extensions/teams/functions.php