Skip to content

Kirby 5.0.4

$siteActions->changeTitle()

Change the site title

$siteActions->changeTitle(string $title, string|null $languageCode = null): Kirby\Cms\SiteActions

Parameters

Name Type Default
$titlerequired string no default value
$languageCode stringornull null

Return type

Kirby\Cms\SiteActions

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

Parent class

Kirby\Cms\SiteActions