Skip to content

Kirby 3.6.6

$page->save()

Stores the content on disk

$page->save(array $data = null, string $languageCode = null, bool $overwrite = false): Kirby\Cms\Page

Parameters

Name Type Default
$data array null
$languageCode string null
$overwrite bool false

Return type

Kirby\Cms\Page

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

Parent class

Kirby\Cms\Page inherited from Kirby\Cms\ModelWithContent