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.
WordPress Hack: Get all users having a specific role
Submitted by Ben Gillbanks • March 5, 2009
Website: www.wprecipes.com
No Responses to “WordPress Hack: Get all users having a specific role” Leave a reply ›