WordPress at Your Fingertips
function is not described

WC_Widget_Layered_Nav::get_main_search_query_sql() protected WC 4.4.0

Wrapper for WC_Query::get_main_search_query_sql() to ease unit testing.

{} It's a method of the class: WC_Widget_Layered_Nav{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_main_search_query_sql();

Changelog

Since 4.4.0 Introduced.

Code of WC_Widget_Layered_Nav::get_main_search_query_sql() WC 5.8.0

protected function get_main_search_query_sql() {
	return WC_Query::get_main_search_query_sql();
}