Skip to content

Kirby 3.7.5

$kirby->kirbytag()

Renders a single KirbyTag with the given attributes

$kirby->kirbytag(string|array $type, string $value = null, array $attr = [ ], array $data = [ ]): string

Parameters

Name Type Default Description
$type * string|array Tag type or array with all tag arguments
(the key of the first element becomes the type)
$value string null
$attr array [ ]
$data array [ ]

Return type

string

Parent class

Kirby\Cms\App