Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created May 5, 2014 14:24
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/b7208de4d1e62220ad6e to your computer and use it in GitHub Desktop.
Save jchristopher/b7208de4d1e62220ad6e to your computer and use it in GitHub Desktop.
Prevent SearchWP Live Search from automatically enabling live search on forms generated with get_search_form()
<?php
add_filter( 'searchwp_live_search_hijack_get_search_form', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment