Skip to content

Kirby 4.4.1

$blocks->first()

Returns the first element

$blocks->first(): mixed

Return type

mixed

Parent class

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