Reference

Guide

$page->changeTitle()

Change the page title

$page->changeTitle(string $title, string $languageCode = null): Kirby\Cms\Page

Parameters

Name Type Default Description
$title string
$languageCode string null

Return type

Kirby\Cms\Page

Details

Source code

kirby/src/Cms/PageActions.php#L285