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