Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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