site.update:before
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 |