Skip to content

Instantly share code, notes, and snippets.

Last active October 21, 2018 15:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jchristopher/6814640f195333522002 to your computer and use it in GitHub Desktop.
// 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' );
Copy link

quicoto commented May 6, 2014

There's an error in the function declaration, right?

Shouldn't it be: my_searchwp_live_search_get_search_form_config()


Copy link

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!

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