Skip to content

Kirby 4.1.2

$siteactions->changeTitle()

Change the site title

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

Parameters

Name Type Default
$title * string
$languageCode string|null 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