Filters the columns to search in a WP_Site_Query search.
The default columns include ‘domain’ and ‘path.
$search_columnsstring[]
$searchstring
$queryWP_Site_Query
$search_columns = apply_filters( 'site_search_columns', $search_columns, $this->query_vars['search'], $this );
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_search_columns