Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Allow partial regex pattern matches to be considered in SearchWP
<?php
// Allow partial regex pattern matches to be considered in SearchWP.
add_filter( 'searchwp\tokens\regex_patterns\only_full_matches', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment