Skip to content

Kirby 4.5.0

site.update:after

/site/config/config.php
return [
    'hooks' => [
        'site.update: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