Skip to content

Kirby 5.1.4

$redirect->location()

Returns the URL for the redirect

$redirect->location(): string

Return type

string

This method modifies the existing $redirect object it is applied to and returns it again.

Parent class

Kirby\Panel\Redirect