[wp-hackers] Get list of roles

Ryan Bilesky rbilesky at gmail.com
Sat Sep 11 07:48:59 UTC 2010

I can't seem to figure out how to get this to work.

I am trying to get a list of roles, (not just assume there is only the
default roles) to build an options page for a plugin I'm working on.  I
would have table to control what roles get certain custom capabilities.  I
cannot seem to figure out how to get all the role names, so I can build my
form to change my plugin specific capabilities.

More information about the wp-hackers mailing list