Created
June 27, 2014 16:54
-
-
Save caseydriscoll/d8d2fbd21ef152ccad6b 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
function change_tribe_searchbar_search_placeholder_text( $filters ) { | |
$filters['tribe-bar-search']['html'] = '<input type="text" name="tribe-bar-search" id="tribe-bar-search" value="" placeholder="'. __('Find Events', 'tribe-events-calendar') .'">'; | |
return $filters; | |
} | |
add_filter( 'tribe-events-bar-filters', 'change_tribe_searchbar_search_placeholder_text' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment