Skip to content

Kirby 3.5.7.1

user.changeEmail:before

$user, $email

/site/config/config.php
return [
    'hooks' => [
        'user.changeEmail:before' => function ($user, $email) {
            // your code goes here
        }
    ]
]