Skip to content

Kirby 5.2.0

$plugin->mediaRoot()

Returns the root where plugin assets are copied to

$plugin->mediaRoot(): string

Return type

string

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

Parent class

Kirby\Plugin\Plugin