apply_filters( 'site_search_columns', array $search_columns , string $search , WP_Site_Query $this )
Filters the columns to search in a WP_Site_Query search.
Description
The default columns include ‘domain’ and ‘path.
Parameters
- $search_columns
-
Array of column names to be searched.
- $search
-
Text being searched.
- $this
-
The current WP_Site_Query instance.
Source
Changelog
Version | Description |
---|---|
WP-4.6.0 | Introduced. |