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