# u()

Shortcut for url()

****

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

****

```php
u(string|null $path = null, array|string|null $options = null): string
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$path` | `string` or `null` | `null` | – |
| `$options` | `array`, `string` or `null` | `null` | – |

## Return type

`string`

Examples see <a href="https://getkirby.com/docs/reference/templates/helpers/url">`url()`</a>