Skip to content

Kirby 5.2.3

$plugin->mediaUrl()

Returns the base URL for plugin assets

$plugin->mediaUrl(): string

Return type

string

This method modifies the existing $plugin object it is applied to and returns it again.

Parent class

Kirby\Plugin\Plugin