apply_filters( ‘wp_search_stopwords’, string[] $stopwords )

In this article

Filters stopwords used when parsing search terms.

Parameters

$stopwordsstring[]
Array of stopwords.

Source

$this->stopwords = apply_filters( 'wp_search_stopwords', $stopwords );

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.