Replace event time with status when not on time

This commit is contained in:
Brian Miyaji
2016-09-09 23:45:43 +10:00
parent 664647dac6
commit 5b3880ba1b
8 changed files with 39 additions and 21 deletions

View File

@@ -50,7 +50,7 @@
if ( $show_time ) {
?>
<h5 class="sp-event-results">
<?php echo '<span class="sp-result">' . apply_filters( 'sportspress_event_blocks_team_result_or_time', sp_get_time( $id ), $id ) . '</span>'; ?>
<?php echo '<span class="sp-result">' . apply_filters( 'sportspress_event_time', sp_get_time( $id ), $id ) . '</span>'; ?>
</h5>
<span class="sp-event-status">
<?php _e( 'Preview', 'sportspress' ); ?>