Reference

$kirby->plugins()

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

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

Parameters

Name Type Default Description
$plugins array null

Can be used to overwrite the plugins registry

Return type

array

Source code

kirby/src/Cms/AppPlugins.php#L454