Skip to content

Kirby 4.2.0

$page->hasTemplate()

Checks if the intended template for the page exists.

$page->hasTemplate(): bool

Return type

bool

Parent class

Kirby\Cms\Page