Skip to content

Kirby 4.5.0

$pageactions->changeTitle()

Change the page title

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

Parameters

Name Type Default
$title * string
$languageCode string|null null

Return type

Kirby\Cms\PageActions

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

Parent class

Kirby\Cms\PageActions