Skip to content

Kirby 3.6.6

$site->changeTitle()

Change the site title

$site->changeTitle(string $title, string $languageCode = null): Kirby\Cms\Site

Parameters

Name Type Default
$title * string
$languageCode string null

Return type

Kirby\Cms\Site

This method does not modify the existing $site object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Site