Skip to content

Kirby 4.4.1

$file->extension()

Returns the current lowercase extension (without .)

$file->extension(): string

Return type

string

Parent class

Kirby\Filesystem\File