Skip to content

Kirby 4.5.0

$blocks->first()

Returns the first element

$blocks->first(): mixed

Return type

mixed

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Collection