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