Functions/total_users

< Functions(Redirected from Theme API/total users)

total_users returns the total number of registered users for an Omeka site.

Usage

<?php echo total_users(); ?>

Examples

If you had 50 users in your archive, you could use this code in your theme's index.php file:

<p>My Omeka Site has <?php echo total_users(); ?> users.</p>

To generate this:

<p>My Omeka Site has 50 users.</p>