Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function tribe_remove_time_single( $settings ) {
if ( is_single() ) {
$settings['time'] = false;
remove_filter( 'tribe_events_event_schedule_details_inner', array( 'Tribe__Events__Timezones', 'append_timezone' ), 10 );
}
return $settings;
}
add_filter( 'tribe_events_event_schedule_details_formatting', 'tribe_remove_time_single' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment