Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change the word Event/Events globally on your calendar. This example uses Meeting/Meetings instead. Change the single and plural options below to whatever word you'd like to use.
<?php
// Singular
add_filter( 'tribe_event_label_singular', 'event_display_name' );
function event_display_name() {
return 'Meeting';
}
add_filter( 'tribe_event_label_singular_lowercase', 'event_display_name_lowercase' );
function event_display_name_lowercase() {
return 'meeting';
}
// Plural
add_filter( 'tribe_event_label_plural', 'event_display_name_plural' );
function event_display_name_plural() {
return 'Meetings';
}
add_filter( 'tribe_event_label_plural_lowercase', 'event_display_name_plural_lowercase' );
function event_display_name_plural_lowercase() {
return 'meetings';
}
@nciske

This comment has been minimized.

Copy link

commented Apr 19, 2016

Works for Venues too, just use tribe_venue_label_singular and tribe_venue_label_plural.

@JavierMaldonadoR

This comment has been minimized.

Copy link

commented Apr 25, 2016

This works great! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.