Skip to content

Kirby 4.1.2

$page->isPublished()

Checks if the page is not a draft.

$page->isPublished(): bool

Return type

bool

Parent class

Kirby\Cms\Page