Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Force partial matches in SearchWP even when matches are found using provided search
<?php
// Force partial matches in SearchWP even when matches are found using provided search.
add_filter( 'searchwp\query\partial_matches\force', function( $force, $args ) {
return true;
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment