Reference

Guide

$kirby->page()

Returns any page from the content folder

$kirby->page(string $id, \Page|null $parent = null, bool $drafts = true): Page|null

Parameters

Name Type Default Description
$id string
$parent Page|null null
$drafts bool true

Return type

Page|null

Source code

kirby/src/Cms/App.php#L767