Skip to content

Kirby 3.6.1.1

site.changeTitle:before

/site/config/config.php
return [
    'hooks' => [
        'site.changeTitle:before' => function (Kirby\Cms\Site $site, string $title, string $languageCode) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$site Kirby\Cms\Site
$title string
$languageCode string