# kirbytags()

Parses KirbyTags in the given string. Shortcut for `$kirby->kirbytags($text, $data)`

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/helpers.php#L301>

****

```php
kirbytags(string|null $text = null, array $data = [ ]): string
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$text` | `string` or `null` | `null` | – |
| `$data` | `array` | `[ ]` | – |

## Return type

`string`