Skip to content

Kirby 4.2.0

$items->next()

Moves the cursor to the next element and returns it

$items->next(): mixed|null

Return type

mixed|null

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Iterator