Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Prevent SearchWP from using a wildcard before search terms when finding partial matches
<?php
// Prevent SearchWP from using a wildcard before search terms when finding partial matches.
add_filter( 'searchwp_like_wildcard_before', '__return_false' );
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.