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 | |
/* | |
* Hide end time in list, map, photo, and single event view | |
* NOTE: This will only hide the end time for events that end on the same day | |
*/ | |
function tribe_remove_end_time_single( $formatting_details ) { | |
$formatting_details['show_end_time'] = 0; | |
return $formatting_details; |