Skip to content

Kirby 5.0.2

$kirby->plugins()

Loads and returns all plugins in the site/plugins directory Loading only happens on the first call.

$kirby->plugins(array|null $plugins = null): array

Parameters

Name Type Default Description
$plugins arrayornull null Can be used to overwrite the plugins registry

Return type

array

Parent class

Kirby\Cms\App