Skip to content

Instantly share code, notes, and snippets.

Last active Apr 26, 2019
What would you like to do?
Customize the common stopwords for a single SearchWP engine
function my_searchwp_stopwords_supplemental( $stopwords ) {
// don't remove any stopwords for the 'Supplemental' engine
return array();
add_filter( 'searchwp_stopwords_supplemental', 'my_searchwp_stopwords_supplemental' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment