Skip to content

$site->save()

Stores the content on disk

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

Parameters

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

Return type

Kirby\Cms\Site

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