Skip to content

Kirby 4.1.2

$user->nameOrEmail()

Returns the user's name or, if empty, the email address

$user->nameOrEmail(): Kirby\Content\Field

Return type

Kirby\Content\Field

Parent class

Kirby\Cms\User