On this page
apply_filters( 'wp_search_stopwords', string[] $stopwords )
Filters stopwords used when parsing search terms.
Parameters
$stopwordsstring[]-
Array of stopwords.
Source
File: wp-includes/class-wp-query.php. View all references
$this->stopwords = apply_filters( 'wp_search_stopwords', $stopwords );
Related
Used By
| Used By | Description |
|---|---|
| WP_Query::get_search_stopwords() wp-includes/class-wp-query.php | Retrieve stopwords used when parsing search terms. |
Changelog
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_search_stopwords