Skip to Content

WordPress Hack: Get all users having a specific role

WordPress Hack: Get all users having a specific role

Submitted by • March 5, 2009 Website: www.wprecipes.com

When developing plugins or advanced WordPress theme, sometimes it can be useful to get all the users belonging to a specific role, for exemple, all administrators. My friend John Kolbert just wrote a great function to do that.

Voted by:
Voted by saad

Visit Site 0 Comments Share

No Responses to “WordPress Hack: Get all users having a specific role” Leave a reply ›

Leave a Reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What is WPVote?

WPVote is a place for people to find and vote on the best WordPress content online.

People can create free accounts, and then submit articles and vote for their favourites so that the cream rise to the top. WPVote is about sharing, so feel free to submit and vote upon your articles and those of your friends.

Read More on the About WPVote page