Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function change_upcoming_event_title($text) {
- if (strpos($text, 'Upcoming Events') !== false)
- $text = str_replace('Upcoming Events', 'Texas Wine School Classes', $text);
- elseif (strpos($text, 'Calendar of Events') !== false)
- $text = str_replace('Calendar of Events', 'Class Calendar', $text);
- return $text;
- }
- add_filter('tribe_get_events_title', 'change_upcoming_event_title');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement