Skip to content

Kirby 4.1.2

$page->hasTemplate()

Checks if the intended template for the page exists.

$page->hasTemplate(): bool

Return type

bool

Parent class

Kirby\Cms\Page