Skip to content

Instantly share code, notes, and snippets.

@rodgtr1
Created April 12, 2018 02:27
Show Gist options
  • Save rodgtr1/b7e50ae928f9d0e70f22364535ded174 to your computer and use it in GitHub Desktop.
Save rodgtr1/b7e50ae928f9d0e70f22364535ded174 to your computer and use it in GitHub Desktop.
Change Default Search Text - Genesis
//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