Created
September 25, 2019 14:27
-
-
Save jchristopher/fc8365667f08adcdbf33ba7c01eb4818 to your computer and use it in GitHub Desktop.
Output a custom notice when SearchWP finds a search correction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Output a custom notice when SearchWP finds a search correction. | |
add_action( 'searchwp_revised_search_query', function( $args ) { | |
// TODO: Output a notice indicating a search correction has been made. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment