Skip to content

Kirby 4.1.2

$page->isDraft()

Checks if the current page is a draft

$page->isDraft(): bool

Return type

bool

Parent class

Kirby\Cms\Page