Skip to content

Instantly share code, notes, and snippets.

@jesseeproductions
Created October 16, 2014 14:59
Show Gist options
  • Save jesseeproductions/b95efcea6f7b6edefa07 to your computer and use it in GitHub Desktop.
Save jesseeproductions/b95efcea6f7b6edefa07 to your computer and use it in GitHub Desktop.
Change text Near on the Events Calendar Search Bar
/**
* Change text Near on the Events Calendar Search Bar
*
*/
add_filter('tribe-events-bar-filters', 'ecp_theme_filter_text', 10, 3);
function ecp_theme_filter_text( $tribebar ) {
$tribebar['tribe-bar-geoloc']['caption'] = "Custom";
return $tribebar;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment