# clanbite_teams_get_owner_id()

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

```php
clanbite_teams_get_owner_id( int $team_id ): int
```

## Parameters

- `$team_id` (int) Team post ID.

## Return

`int` `0` if the post has no author.
