Skip to content

Kirby 4.5.0

$redirect->code()

Returns the HTTP code for the redirect

$redirect->code(): int

Return type

int

Parent class

Kirby\Panel\Redirect