Created
April 12, 2018 02:27
-
-
Save rodgtr1/b7e50ae928f9d0e70f22364535ded174 to your computer and use it in GitHub Desktop.
Change Default Search Text - Genesis
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
//Change default search text | |
function themeprefix_search_button_text( $text ) { | |
return ( 'Custom search phrase...'); | |
} | |
add_filter( 'genesis_search_text', 'themeprefix_search_button_text' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment