# Teams::redirect_after_team_create()

Redirect helper for create team flow.

```php
redirect_after_team_create( bool $success, string $code, int $team_id = 0 ): void
```

## Parameters

- `$success` (bool) Whether request succeeded.
- `$code` (string) Status code.
- `$team_id` (int) Optional team post ID.

## Return

`void`
