Skip to content

Kirby 3.9.8

$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