Skip to content

Kirby 3.7.5

$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

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