Skip to content

Kirby 5.0.1

$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 stringorarray 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

Parent class

Kirby\Cms\App