Skip to content

Kirby 6.0.0

JsonResponse::go()

Redirects to the given Urls Urls can be relative or absolute.

JsonResponse::go(string $url = '/', int $code = 302, bool $inherit = false): never

Parameters

Name Type Default Description
$url string '/'
$code int 302
$inherit bool false Keep the query and params of the current request (since 5.7.0)

Return type

never

Parent class

Kirby\Panel\Response\JsonResponse inherited from Kirby\Http\Response