Skip to content

Kirby 4.5.0

F::extensions()

Returns all extensions for a certain file type

F::extensions(?string $type = null): array

Parameters

Name Type Default
$type string|null null

Return type

array

Parent class

Kirby\Filesystem\F