Skip to content

Kirby 4.4.1

$user->changeName()

Changes the screen name of the user

$user->changeName(string $name): Kirby\Cms\User

Parameters

Name Type Default
$name * string

Return type

Kirby\Cms\User

This method does not modify the existing $user object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\User