Created
November 5, 2018 22:37
-
-
Save Edwardtonnn/b0c9ca5edaf08f3afe9319ae128d7378 to your computer and use it in GitHub Desktop.
Search text filter for Genesis Themes
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 | |
//Change search form text | |
function themeprefix_search_button_text( $text ) { | |
return ( 'Search text goes here...'); | |
} | |
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