Skip to content

Kirby 3.8.4

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