-
-
Save trishasalas/eae367f6f09c7958aa8284b84e025563 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 tribe_translate_filterbar_eventcategory_text( $translated_text, $untranslated_text ) { | |
//make the changes to the text | |
switch( $untranslated_text ) { | |
case 'Event Category': | |
$translated_text = __( 'TRANSLATED TEXT HERE', 'tribe-events-filter-view' ); | |
break; | |
} | |
return $translated_text; | |
} | |
add_filter('gettext', 'tribe_translate_filterbar_eventcategory_text', 20, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment