Skip to content

Kirby 4.5.0

F::mimeToExtension()

Converts a mime type to a file extension

F::mimeToExtension(?string $mime = null): string|false

Parameters

Name Type Default
$mime string|null null

Return type

string|false

Parent class

Kirby\Filesystem\F