Skip to content

Kirby 4.5.0

user.update:before

/site/config/config.php
return [
    'hooks' => [
        'user.update:before' => function (Kirby\Cms\User $user, array $values, array $strings) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$user Kirby\Cms\User
$values array
$strings array