wp_dropdown_users_args WordPress Filter Hook
The wp_dropdown_users_args hook is used to modify the arguments used in the wp_dropdown_users() function. This hook can be used to add or remove arguments from the function, or to modify the default values of the arguments.
apply_filters( 'wp_dropdown_users_args', array $query_args , array $parsed_args ) #
Filters the query arguments for the list of users in the dropdown.
Parameters
- $query_args
(array)The query arguments for get_users().
- $parsed_args
(array)The arguments passed to wp_dropdown_users() combined with the defaults.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |