Multiple User Queries
The MasterPress API offers a few ways to query a collection of users of your WordPress site.
The first way is via the WOOF::users method, which wraps up the results of the WordPress get_users query function.
Example 1: Querying a list of users
Another way is to retrieve a single user role first via the WOOF::role, and then access all users within that role via the WOOF_Role::users method – this is a little more intuitive than using a query parameter in the previous example: