Skip to content

Kirby 4.5.0

$page->hasDrafts()

Checks if the model has any draft children

$page->hasDrafts(): bool

Return type

bool

Parent class

Kirby\Cms\Page