WP_Network_Query::get_search_sql

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$string

(string) (Required) Search string.

$columns

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

Return Return

(string) Search SQL.

Source Source

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


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.