Skip to content

Instantly share code, notes, and snippets.

@GeoffEW
Created February 18, 2018 06:14
Show Gist options
  • Save GeoffEW/a5b52c12e9b5635b64ec0ab4f16898dd to your computer and use it in GitHub Desktop.
Save GeoffEW/a5b52c12e9b5635b64ec0ab4f16898dd to your computer and use it in GitHub Desktop.
Quick and dirty snippet to remove end time from single meta
<?php
add_filter( 'tribe_events_event_schedule_details_formatting', 'remove_end_time', 10, 2);
function remove_end_time( $formatting_details ) {
$formatting_details['show_end_time'] = 0;
return $formatting_details;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment