Skip to content

Kirby 4.1.2

$pages->next()

Moves the cursor to the next element and returns it

$pages->next(): mixed|null

Return type

mixed|null

Parent class

Kirby\Cms\Pages inherited from Kirby\Toolkit\Iterator