# Teams::get_team_profile_url_for_slug()

Public profile URL for a team slug (`cp_team` permalink, or fallback from the registered rewrite slug).

```php
get_team_profile_url_for_slug( string $slug ): string
```

## Parameters

- `$slug` (string) Post name (`post_name`).

## Return

`string` Empty when the slug is invalid.
