Skip to content

Kirby 4.4.1

$asset->mediaUrl()

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

$asset->mediaUrl(): string

Return type

string

Parent class

Kirby\Filesystem\Asset