$site->users()
Returns a $users collection with all registered users.
-
return ($users)
Example
<h2>Registered users</h2>
<ul>
<?php foreach($site->users() as $user): ?>
<li><?= $user->username() ?></li>
<?php endforeach ?>
</ul>
Returns a $users collection with all registered users.
<h2>Registered users</h2>
<ul>
<?php foreach($site->users() as $user): ?>
<li><?= $user->username() ?></li>
<?php endforeach ?>
</ul>