Skip to content

Kirby 4.5.0

user.changeEmail:after

/site/config/config.php
return [
    'hooks' => [
        'user.changeEmail:after' => function (Kirby\Cms\User $newUser, Kirby\Cms\User $oldUser) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$newUser Kirby\Cms\User
$oldUser Kirby\Cms\User