Skip to content

Kirby 4.5.0

Blocks::parse()

Parse and sanitize various block formats

Blocks::parse(array|string|null $input): array

Parameters

Name Type Default
$input * array|string|null

Return type

array

Parent class

Kirby\Cms\Blocks