user.create:before
return [
'hooks' => [
'user.create:before' => function (Kirby\Cms\User $user, array $input) {
// your code goes here
}
]
]
Parameters
Parameter | Type |
---|---|
$user | Kirby\Cms\User |
$input | array |