Skip to content

Kirby 4.3.0

$filename->extension()

Returns the sanitized extension

$filename->extension(): string

Return type

string

Parent class

Kirby\Filesystem\Filename