Skip to content

Kirby 5.2.2

$plugin->root()

Returns the root where the plugin files are stored

$plugin->root(): string

Return type

string

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

Parent class

Kirby\Plugin\Plugin