$kirby->user()
Returns a specific user by id or the current user if no id is given
$kirby->user(string $id = null): Kirby\Cms\User|null
Parameters
Name | Type | Default | Description |
---|---|---|---|
$id |
string |
null |
Return type
Kirby\Cms\User
|null