Skip to content

Kirby 4.5.0

$filename->extension()

Returns the sanitized extension

$filename->extension(): string

Return type

string

Parent class

Kirby\Filesystem\Filename