Skip to content

Kirby 3.8.4

site.update:before

/site/config/config.php
return [
    'hooks' => [
        'site.update:before' => function (Kirby\Cms\Site $site, array $values, array $strings) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$site Kirby\Cms\Site
$values array
$strings array