Skip to content

Kirby 5.2.0

Home::alternative()

Returns an alternative URL if access to the first choice is blocked.

Home::alternative(Kirby\Cms\User $user): string

Parameters

Name Type Default
$userrequired Kirby\Cms\User no default value

Return type

string

Parent class

Kirby\Panel\Home