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