Skip to content

Kirby 4.1.2

$user->changeEmail()

Changes the user email address

$user->changeEmail(string $email): Kirby\Cms\User

Parameters

Name Type Default
$email * 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