Hello, I’m testing this plugin with my site. I’m attempting to retrieve a list of users in a newly created role called “approved_authors”. I did this by:
$approved_authors = get_users('role=Approved-author');
But this string does not contain the data that I expect. Are the custom role handles not usable to get_users?
- The topic ‘get_users with custom role?’ is closed to new replies.