Skip to content

Kirby 4.2.0

$haschildren->draft()

Searches for a draft child by ID

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

Parameters

Name Type Default
$path * string

Return type

Kirby\Cms\Page|null

Parent class

Kirby\Cms\HasChildren