Skip to content

Kirby 4.2.0

$asset->mediaPath()

Returns the relative path starting at the media folder

$asset->mediaPath(): string

Return type

string

Parent class

Kirby\Filesystem\Asset