Filters the query arguments for the list of all users of the site.
$query_argsarray
$parsed_argsarray
orderby string'nicename', 'email', 'url', 'registered', 'user_nicename', 'user_email', 'user_url', 'user_registered', 'name', 'display_name', 'post_count', 'ID', 'meta_value', 'user_login'. Default 'name'.order string'ASC', 'DESC'. Default 'ASC'.number intexclude_admin bool'admin' account, if it exists. Default false.show_fullname boolfeed stringfeed_image stringfeed_type string'rss2'. Defaults to default feed type.echo boolstyle string'list', each user is wrapped in an <li> element, otherwise the users will be separated by commas.html boolexclude stringinclude string$query_args = apply_filters( 'wp_list_users_args', $query_args, $parsed_args );
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_list_users_args