Used By
Used By | Description |
---|---|
wp-includes/class-wp-user-query.php: WP_User_Query::prepare_query() | Prepare the query variables. |
Filters the columns to search in a WP_User_Query search.
The default columns depend on the search term, and include ‘ID’, ‘user_login’, ‘user_email’, ‘user_url’, ‘user_nicename’, and ‘display_name’.
(string[]) Array of column names to be searched.
(string) Text being searched.
(WP_User_Query) The current WP_User_Query instance.
Version | Description |
---|---|
3.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_search_columns