3

The functions that I am aware of:

WP_User

and

wp_get_current_user

seem to only get the user object of the current user. As an administrator, if I want to display certain profile information in a table from each user, how can I loop through the ids?

Can this be done with WP template tags or should I resort to SQL?

Thanks in advance

7

How about using get_users()? You probably don't even need parameters for it, default behavior should be just what you're looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.