Skip to content

Instantly share code, notes, and snippets.

@searchwpgists
Created March 29, 2022 13:37
Show Gist options
  • Save searchwpgists/2e0c0ebc1120c67383aca01c61a86875 to your computer and use it in GitHub Desktop.
Save searchwpgists/2e0c0ebc1120c67383aca01c61a86875 to your computer and use it in GitHub Desktop.
Make highlighting case sensitive in SearchWP
<?php
// Make highlighting case sensitive in SearchWP.
add_filter( 'searchwp\highlighter\case_insensitive', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment