Skip to content

Kirby 4.5.0

$blocks->count()

Counts all elements

$blocks->count(): int

Return type

int

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Iterator