This page redirects to an external site: https://developer.wordpress.org/reference/functions/get_users_of_blog/
Returns an array filled with information about the blog's users.
<code style="color: #000000"> <span style="color: #0000BB"><?php $blogusers </span><span style="color: #007700">= </span><span style="color: #0000BB">get_users_of_blog</span><span style="color: #007700">(); </span><span style="color: #0000BB">?></span> </code>
// Get information about this blog's users into an array.
$blogusers = get_users_of_blog();
// Iterate over the array and retrieve that users' basic information.
foreach ($blogusers as $usr) {
print "{$usr->user_login} has user ID number {$usr->ID}.";
}
None.
get_users_of_blog() is located in wp-includes/deprecated.php.
Blog User Functions: add_user_to_blog(), add_new_user_to_blog(), remove_user_from_blog(), is_user_member_of_blog()