Log in

SearchWP - Fuzzy Matches 1.4.4

Download SearchWP - Fuzzy Matches 1.4.4 from nulled fire. Fuzzy matching aims to make SearchWP a bit more lenient with search queries.
Download SearchWP - Fuzzy Matches 1.4.4 - Fuzzy matching aims to make SearchWP a bit more lenient with search queries.

Fuzzy matching aims to make SearchWP a bit more lenient with search queries. Use this extension to include search terms that are close in spelling to terms within your index. There are some filters available for this Extension that let you fine-tune how loose the fuzziness is.

searchwp_fuzzy_min_length
Set the minimum word length to include in fuzzy matches (default is 5)


Code:
<?php
function my_fuzzy_word_length()
{
  return 5;
}
add_filter( 'searchwp_fuzzy_min_length', 'my_fuzzy_word_length' );

searchwp_fuzzy_threshold
Beyond basic fuzzy matching, SearchWP will apply some primitive spell checking to submitted terms. This filter lets you specify what minimum percentage should be used to constitute a valid match. Must be 0 – 100. (default is 80)

Code:
<?php
function my_fuzzy_threshold()
{
  return 85;
}
add_filter( 'searchwp_fuzzy_threshold', 'my_fuzzy_threshold' );

searchwp_fuzzy_digit_threshold
Set the maximum percentage of digits in search term to perform spell checking (default is 10)

Code:
<?php
function myChangeDigitThreshold()
{
  return 15; // 15% maximum threshold
}
add_filter( 'searchwp_fuzzy_digit_threshold', 'myChangeDigitThreshold' );
SearchWP - Fuzzy Matches

Uploaded By
Apanha
File Size
(8 KB / .zip)
Last update
Rating
0.00 star(s) 0 ratings

More resources from Apanha

  • Thrive Themes Builder
    Thrive Themes Builder
    Thrive Theme Builder is Fully customizable, front end theme and template editing for WordPress.
  • Thrive Optimize
    Thrive Optimize
    Thrive Optimize will boost Conversion Rates by testing two or more variations of a page.
  • Thrive Comments
    Thrive Comments
    Thrive Comments - The Superior Comments System for WordPress
  • Thrive Headline Optimizer
    Thrive Headline Optimizer
    For each blog post, Thrive Headline Optimizer will A/B test your titles.
  • Thrive Leads
    Thrive Leads
    Thrive Leads - Thrive Leads is your all-in one email list building tool.

Latest updates

  1. 1.4.4

    [Update] Updated updater
  2. 1.4.3

    [New] New filters searchwp_fuzzy_prefix and searchwp_fuzzy_suffix to refine control over partial...

About us

  • NulledFire.com is one of the most comprehensive repositories under the terms of GPL (GNU General Public License v3.0 Free as in Freedom) that provides premium Plugins, Themes and PHP Scripts for testing purposes.
    We promote WP codes to the users globally so that you can check it before buying from the original developer/designer.

User Menu