Skip to content

Kirby 5.5.1

Frontmatter::write()

Writes data to a file

Frontmatter::write(string $file, $data = [ ]): bool

Parameters

Name Type Default
$filerequired string no default value
$data mixed [ ]

Return type

bool

Parent class

Kirby\Data\Frontmatter inherited from Kirby\Data\Handler