Uma área de pesquisa sobre o WordPress para devs e autores do tema



site_search_columns ›

Desde4.6.0
Obsoleton/a
apply_filters( 'site_search_columns', $search_columns, $this->query_vars['search'], $this )
Parâmetros: (3)
  • (string[]) $search_columns Array of column names to be searched.
    Required: Yes
  • (string) $search Text being searched.
    Required: Yes
  • (WP_Site_Query) $this The current WP_Site_Query instance.
    Required: Yes
Definido em:
Codex:

Filters the columns to search in a WP_Site_Query search.

The default columns include 'domain' and 'path.





Fonte

$search_columns = apply_filters( 'site_search_columns', $search_columns, $this->query_vars['search'], $this );