Skip to content

Kirby 4.4.1

$blocks->count()

Counts all elements

$blocks->count(): int

Return type

int

Parent class

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