count_users Wordpress function


Description:

Count number of users who have each of the user roles.


Syntax:


Arguments:

(string) $strategy 'time' or 'memory'


Return Type:

(array) Includes a grand total and an array of counts indexed by role strings.


Define At:

wp-includes/user.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/count_users


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×