Skip to content

Kirby 5.3.3

$template->extension()

Returns the expected template file extension

$template->extension(): string

Return type

string

This method modifies the existing $template object it is applied to and returns it again.

Parent class

Kirby\Template\Template