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