$users->current()
Returns the current element
Return type
mixed
Parent class
Kirby\Cms\Users
inherited from Kirby\Toolkit\Iterator
Details
Note that this method does not get the currently logged in user, but the current user in the collection. To get the currently logged in user, use $user = $kirby->user()
.