Skip to content

Kirby 4.5.0

$pagesiblings->nextListed()

Returns the next listed page if it exists

$pagesiblings->nextListed(\Kirby\Cms\Collection|null $collection = null): Kirby\Cms\Page|null

Parameters

Name Type Default
$collection Kirby\Cms\Collection|null null

Return type

Kirby\Cms\Page|null

Parent class

Kirby\Cms\PageSiblings