Clanbite

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

Redirect helper for create team flow.

protected

Class: Kernowdev\Clanbite\Extensions\Teams

Parameters

$success (bool) Required

Whether request succeeded.

$code (string) Required

Status code.

$team_id (int) Optional

Optional team post ID.

Default: 0

Returns

void

Defined in inc/extensions/teams/class-extension-teams.php