Skip to content

Kirby 4.4.1

$asset->mediaRoot()

Returns the absolute path to the file in the public media folder

$asset->mediaRoot(): string

Return type

string

Parent class

Kirby\Filesystem\Asset