Skip to content

Kirby 4.4.1

site.changeTitle:after

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

Parameters

Parameter Type
$newSite Kirby\Cms\Site
$oldSite Kirby\Cms\Site