Skip to content

Kirby 3.5.7.1

$site->writeContent()

Low level data writer method to store the given data on disk or anywhere else

$site->writeContent(array $data, string $languageCode = null): bool

Parameters

Name Type Default
$data * array
$languageCode string null

Return type

bool

Parent class

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