Created
February 18, 2018 06:14
-
-
Save GeoffEW/a5b52c12e9b5635b64ec0ab4f16898dd to your computer and use it in GitHub Desktop.
Quick and dirty snippet to remove end time from single meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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