Skip to content

Instantly share code, notes, and snippets.

@searchwpgists
Created March 16, 2022 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save searchwpgists/b3cd7f5d00b613cc6c174bad8e6d8469 to your computer and use it in GitHub Desktop.
Save searchwpgists/b3cd7f5d00b613cc6c174bad8e6d8469 to your computer and use it in GitHub Desktop.
Disable keyword stemming for all Engines in SearchWP
<?php
// Disable keyword stemming for all Engines in SearchWP.
add_filter( 'searchwp\query\tokens\use_stems', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment