$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><?php echo $user->username() ?></li>
  <?php endforeach ?>
</ul>