WordPress at Your Fingertips
filter is not described

user_search_columns filter-hook . WP 3.6.0

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'.


add_filter( 'user_search_columns', 'filter_function_name_8269', 10, 3 );
function filter_function_name_8269( $search_columns, $search, $query ){
	// filter...

	return $search_columns;
Array of column names to be searched.
Text being searched.
The current WP_User_Query instance.


Since 3.6.0 Introduced.

Where the hook is called

wp-includes/class-wp-user-query.php 549
$search_columns = apply_filters( 'user_search_columns', $search_columns, $search, $this );

Where in WP core the hook is used WordPress

Usage not found.