Skip to content

Kirby 3.5.7.1

user.delete:before

$user

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