Skip to content

Kirby 3.6.1.1

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