Skip to content

Kirby 4.5.0

$blocks->next()

Moves the cursor to the next element and returns it

$blocks->next(): mixed|null

Return type

mixed|null

Parent class

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