Skip to content

Kirby 4.2.0

$redirect->code()

Returns the HTTP code for the redirect

$redirect->code(): int

Return type

int

Parent class

Kirby\Panel\Redirect