❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$user->lastName()
Returns the user's last name
return
(string)
Example
<?= $site->user('bastian')->lastName() ?>
↑
Cheat Sheet overview
←
$user->isCurrent()
→
$user->login($password)
↓
Back to Cheat Sheet section
Top