Skip to content

Kirby 6.0.0

DropdownResponse::refresh()

Creates a refresh response, which will send the visitor to the given location after the specified number of seconds.

DropdownResponse::refresh(string $location = '/', int $code = 302, int $refresh = 0): DropdownResponse

Parameters

Name Type Default
$location string '/'
$code int 302
$refresh int 0

Return type

Kirby\Panel\Response\DropdownResponse

Parent class

Kirby\Panel\Response\DropdownResponse inherited from Kirby\Http\Response