Skip to content

Kirby 6.0.0

$page->draft()

Searches for a draft child by ID

$page->draft(string $path): Page|null

Parameters

Name Type Default
$pathrequired string no default value

Return types

Kirby\Cms\Pageornull

Parent class

Kirby\Cms\Page