Skip to content

Kirby 3.7.5

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