WP_Site_Query::get_search_sql

SummerySummery

Used internally to generate an SQL string for searching across multiple columns.

Syntax

WP_Site_Query::get_search_sql( string $string, string[] $columns )

ParametersParameters

$string

(string) (Required) Search string.

$columns

(string[]) (Required) Array of columns to search.

ReturnReturn

(string) Search SQL.

SourceSource

File: wp-includes/class-wp-site-query.php


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top