Skip to content

Kirby 3.9.8

$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