Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('tribe_get_meta_group', 'change_custom_meta_group_title', 10, 2);
- function change_custom_meta_group_title($html, $meta_group_id) {
- if ('tribe_event_group_custom_meta' !== $meta_group_id) return $html;
- $look_for = '<h3 class="tribe-events-single-section-title">Other</h3>';
- $replace_with = '<h3 class="tribe-events-single-section-title">Additional Information</h3>';
- return str_replace($look_for, $replace_with, $html);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement