Skip to content

Instantly share code, notes, and snippets.

@jchristopher jchristopher/functions.php
Last active Apr 26, 2019

Embed
What would you like to do?
Customize the common stopwords for a single SearchWP engine
<?php
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
You can’t perform that action at this time.