WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Data_Store_WP::get_search_stopwords() WC 3.4.0

Retrieve stopwords used when parsing search terms.

Это метод класса: WC_Data_Store_WP

Хуки из метода

Массив. Stopwords.


$WC_Data_Store_WP = new WC_Data_Store_WP();
$var = $WC_Data_Store_WP->get_search_stopwords();

Список изменений

С версии 3.4.0 Введена.

Код WC Data Store WP::get search stopwords: woocommerce/includes/data-stores/class-wc-data-store-wp.php WC 3.9.2

protected function get_search_stopwords() {
	// Translators: This is a comma-separated list of very common words that should be excluded from a search, like a, an, and the. These are usually called "stopwords". You should not simply translate these individual words into your language. Instead, look for and provide commonly accepted stopwords in your language.
	$stopwords = array_map(
					'Comma-separated list of search stopwords in your language',

	return apply_filters( 'wp_search_stopwords', $stopwords );