Skip to content

Kirby 5.0.0

$pageActions->changeTitle()

Change the page title

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

Parameters

Name Type Default
$titlerequired string no default value
$languageCode stringornull 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