Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Last active October 21, 2018 15:04
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/6814640f195333522002 to your computer and use it in GitHub Desktop.
Save jchristopher/6814640f195333522002 to your computer and use it in GitHub Desktop.
<?php
// only applies when SearchWP is active
function my_searchwp_live_search_get_search_form_config)() {
return 'my_config';
}
add_filter( 'searchwp_live_search_get_search_form_config', 'my_searchwp_live_search_get_search_form_config' );
@jchristopher
Copy link
Author

You are absolutely right and I have no idea how your comment went under my radar since May. Really sorry about that and thank you!

@funkysoul
Copy link

funny, I come across this 4 years later :-D
there's still the same typo :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment