Skip to content

Kirby 3.9.8

$pagesiblings->nextUnlisted()

Returns the next unlisted page if it exists

$pagesiblings->nextUnlisted(\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