WordPress at a glance
function is not described

WC_Data_Store_WP::get_search_stopwords() protected WC 3.4.0

Retrieve stopwords used when parsing search terms.

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

Hooks from the method

Array. Stopwords.


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


Since 3.4.0 Introduced.

Code of WC_Data_Store_WP::get_search_stopwords() WC 4.6.1

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 );