Skip to content

Kirby 4.4.1

$asset->mediaPath()

Returns the relative path starting at the media folder

$asset->mediaPath(): string

Return type

string

Parent class

Kirby\Filesystem\Asset