Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
$user->current()
Returns the current user
return
($user)
Example
<?= $site->user()->current() ?>
↑
Cheat Sheet overview
←
$user->cannot($event, $args = \[])
→
$user->data()
↓
Back to Cheat Sheet section
Top