Last active
October 21, 2018 15:04
-
-
Save jchristopher/6814640f195333522002 to your computer and use it in GitHub Desktop.
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 | |
// 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' ); |
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!
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
There's an error in the function declaration, right?
Shouldn't it be:
my_searchwp_live_search_get_search_form_config()
Cheers.