Skip to content

Kirby 4.4.1

$pagesiblings->prevListed()

Returns the previous listed page

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