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