Tagged Questions
2
votes
1answer
174 views
Can I pass two roles to the function get_users?
I want to get the users of role academic and student. I have tried using the code below (passing an array of roles, but all users are being displayed, so clearly it's not working.
...
2
votes
1answer
462 views
How to paginate the get_users function?
Im using the get_users function to show a custom list of users on the site. The only issue Im having a problem figuring out now is how to paginate the result.
This is a sample of the function that Im ...