Skip to content

Kirby 4.5.0

$kirbytag->file()

Finds a file for the given path.

$kirbytag->file(string $path): Kirby\Cms\File|null

Parameters

Name Type Default
$path * string

Return type

Kirby\Cms\File|null

Parent class

Kirby\Text\KirbyTag