Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function searchwp_partial_matching_aggressive( $return, $args ) {
- // $args contains information about this request
- // - engine
- // TODO: customize $return to match whether matching should be aggressive
- return $return;
- }
- add_filter( 'searchwp_partial_matching_aggressive', 'my_searchwp_partial_matching_aggressive', 10, 2 );
Add Comment
Please, Sign In to add comment