Skip to content

Kirby 4.4.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