Skip to content

Kirby 4.6.1

$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