Created
March 20, 2019 14:41
-
-
Save jchristopher/6294c8ecc4d499ff95885be0d395e9c4 to your computer and use it in GitHub Desktop.
Prevent SearchWP from imposing its engine configuration on empty search requests
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 | |
// Prevent SearchWP from imposing its engine configuration on empty search requests | |
add_filter( 'searchwp_disable_impose_engine_config', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment