Skip to content

Kirby 3.7.5

user.create:before

/site/config/config.php
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