Skip to content

Kirby 4.5.0

$asset->mediaPath()

Returns the relative path starting at the media folder

$asset->mediaPath(): string

Return type

string

Parent class

Kirby\Filesystem\Asset