Snippets
Add your own snippet loader
Parameters
Name | Type | Default | Description |
---|---|---|---|
$kirby * | Kirby\Cms\App |
– | Kirby instance |
$name * | array |string |null |
– | Snippet name |
$data | array |
[ ] |
Data array for the snippet |
$slots | bool |
false |
Return type
Kirby\Template\Snippet
|string