Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created January 23, 2015 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/ec4af3218837157dc14a to your computer and use it in GitHub Desktop.
Save jchristopher/ec4af3218837157dc14a to your computer and use it in GitHub Desktop.
Change the number of accepted search terms for SearchWP supplemental engines
<?php
function my_searchwp_max_search_terms_supplemental( $num_terms) {
return 10; // allow 10 search terms for supplemental engines
}
add_filter( 'searchwp_max_search_terms_supplemental', 'my_searchwp_max_search_terms_supplemental' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment