Skip to content

Kirby 3.6.1

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