❌ Kirby 2 no longer actively supported. 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