Skip to content

Kirby 3.5.7.1

site.changeTitle:before

$site, $title, $languageCode

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