searchwp\query\partial_matches\buoy
Since: 4.0.0
Table of Contents
Control whether exact matches are given extra relevance weight when performing partial match logic.
Parameters
| Type | Parameter | Default | Since | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Boolean | $enabled |
true |
4.0.0 |
|||||||||
| Array |
$args
|
4.0.0 |
||||||||||
Examples
All hooks should be added to your custom SearchWP Customizations Plugin.
Disable exact match buoy
| <?php | |
| // Disable SearchWP's exact match buoy when performing partial match logic. | |
| add_filter( 'searchwp\query\partial_matches\buoy', '__return_false' ); |

