SearchWP Archive

Class: Tokens

SearchWP searches for regular expression pattern matches to keep certain strings in tact and avoid tokenization which may reduce the usefulness during search. By default there are a number of common regular expression patterns to extract strings of SKUs, dates, initials, function names, version numbers, and more. You can use this hook to add your […]

Manipulate tokens both when indexing and searching.

By default SearchWP will process only full matches for its regular expression patterns. If you would like SearchWP to also consider partial matches you may enable that behavior with this hook.

Control whether SearchWP is strict with tokens. When disabled (which is the default behavior) SearchWP will remove accents from characters.

Create a Better WordPress Search Experience Today

Never lose visitors to unhelpful search results again. SearchWP makes creating your own smart WordPress search fast and easy.

Get SearchWP Now
Multiple Search Engines Icon