Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckpicker/f803615d7eb429f1b12b to your computer and use it in GitHub Desktop.
Save ckpicker/f803615d7eb429f1b12b to your computer and use it in GitHub Desktop.
Community Events 3.5 & The Events Calendar 3.5 // Change Organizer to Coordinator Globally
function filter_translations($translations, $text, $domain) {
if ($domain == 'tribe-events-community' || $domain == 'tribe-events-calendar') {
$text = str_ireplace( 'Organizer', 'Coordinator', $text );
}
return $text;
}
add_filter('gettext', 'filter_translations', 10, 3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment