Skip to content

Kirby 5.0.2

$site->hasDrafts()

Checks if the model has any draft children

$site->hasDrafts(): bool

Return type

bool

Parent class

Kirby\Cms\Site