Skip to content

Kirby 6.0.0

$asset->mediaDir()

Returns the absolute path to the media folder for the file and its versions

$asset->mediaDir(): string

Return type

string

Parent class

Kirby\Filesystem\Asset