Last active
October 3, 2016 21:42
-
-
Save JudeRosario/41733a9605c08da89d1fe8a99f67de7f to your computer and use it in GitHub Desktop.
WP form change placeholder
This file contains hidden or 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
add_filter( 'get_search_form', 'i21321_search_text_replacer', 999, 1 ) ; | |
function i21321_search_text_replacer ($form) { | |
return str_replace('Type & Hit Enter to Search', 'Search in the website', $form ) ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment