Skip to content

Kirby 5.0.2

$page->readContent()

Read the content from the content file

Deprecated in 5.0.0
Use ->version()->read() instead
$page->readContent(string|null $languageCode = null): array

Parameters

Name Type Default
$languageCode stringornull null

Return type

array

Parent class

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