$kirby->kirbytag()
Renders a single KirbyTag with the given attributes
$kirby->kirbytag(array|string $type, string|null $value = null, array $attr = [], array $data = []): string
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $typerequired | arrayorstring |
no default value | Tag type or array with all tag arguments (the key of the first element becomes the type) |
| $value | stringornull |
null
|
|
| $attr | array |
[]
|
|
| $data | array |
[]
|
Return type
string