Skip to content

Kirby 4.5.0

$page->draft()

Searches for a draft child by ID

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

Parameters

Name Type Default
$path * string

Return type

Kirby\Cms\Page|null

Parent class

Kirby\Cms\Page