$user->nameOrEmail()
Returns the user's name or, if empty, the email address
$user->nameOrEmail(): Kirby\Content\Field
Return type
This method modifies the existing $user
object it is applied to and returns it again.
Returns the user's name or, if empty, the email address
$user->nameOrEmail(): Kirby\Content\Field
This method modifies the existing $user
object it is applied to and returns it again.