Skip to content

Kirby 4.2.0

$template->file()

Detects the location of the template file if it exists.

$template->file(): string|null

Return type

string|null

Parent class

Kirby\Template\Template