Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created June 25, 2014 19: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/021d8e21863ecf0b4bf4 to your computer and use it in GitHub Desktop.
Save ckpicker/021d8e21863ecf0b4bf4 to your computer and use it in GitHub Desktop.
Events Calendar // Override Venue & Organizer Labels & Permalink Slug
add_filter('tribe_venue_label_singular', 'change_single_venue_label' );
function change_single_venue_label() {
return 'Church';
}
add_filter('tribe_venue_label_plural', 'change_plural_venue_label' );
function change_plural_venue_label() {
return 'Churches';
}
add_filter('tribe_organizer_label_singular', 'change_single_organizer_label' );
function change_single_organizer_label() {
return 'Pastor';
}
add_filter('tribe_organizer_label_plural', 'change_plural_organizer_label' );
function change_plural_organizer_label() {
return 'Pastors';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment