$kirby->extension()
Returns a given extension by type and name
Parameters
Name | Type | Default | Description |
---|---|---|---|
$type * | string |
– | i.e. 'hooks' |
$name * | string |
– | i.e. 'page.delete:before' |
$fallback | mixed |
null |
Return type
mixed