Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



user_search_columns ›

Seit3.6.0
Veraltetn/v
apply_filters( 'user_search_columns', $search_columns, $search, $this )
Parameter: (3)
  • (string[]) $search_columns Array of column names to be searched.
    Erforderlich: Ja
  • (string) $search Text being searched.
    Erforderlich: Ja
  • (WP_User_Query) $this The current WP_User_Query instance.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the columns to search in a WP_User_Query search.

The default columns depend on the search term, and include 'user_email', 'user_login', 'ID', 'user_url', 'display_name', and 'user_nicename'.





Quellcode

$search_columns = apply_filters( 'user_search_columns', $search_columns, $search, $this );