query.get_users

/ Database / query.get_users

Retrieves an array of users matching the criteria given in args

Parameters supported : blog_id, role, meta_key, meta_value, meta_compare, meta_query, date_query, include, exclude, orderby, order, offset, search, number, count_total, fields, who

It returns: An array of IDs, stdClass objects, or WP_User objects, depending on the value of the ‘fields’ parameter

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *