Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 20, 2019 14:41
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 jchristopher/6294c8ecc4d499ff95885be0d395e9c4 to your computer and use it in GitHub Desktop.
Save jchristopher/6294c8ecc4d499ff95885be0d395e9c4 to your computer and use it in GitHub Desktop.
Prevent SearchWP from imposing its engine configuration on empty search requests
<?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