Skip to content

Kirby 4.3.0

Snippet::file()

Absolute path to the file for the snippet/s taking snippets defined in plugins into account

Snippet::file(array|string $name): string|null

Parameters

Name Type Default
$name * array|string

Return type

string|null

Parent class

Kirby\Template\Snippet