Skip to content

Kirby 3.9.0


Stores the content on disk

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


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

Return type


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

Parent class

Kirby\Cms\Site inherited from Kirby\Cms\ModelWithContent