Skip to content

Kirby 3.6.6

$appplugins->extension()

Returns a given extension by type and name

$appplugins->extension(string $type, string $name, mixed $fallback = null): mixed

Parameters

Name Type Default Description
$type * string i.e. 'hooks'
$name * string i.e. 'page.delete:before'
$fallback mixed null

Return type

mixed

Parent class

Kirby\Cms\AppPlugins