Last active
August 29, 2015 14:01
-
-
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
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 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