Skip to content

Kirby 4.5.0

$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