芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/the-events-calendar/src/views/blocks/event-datetime.php
attr( 'showTimeZone' ); $local_start_time = tribe_get_start_date( $event_id, true, Tribe__Date_Utils::DBDATETIMEFORMAT ); $time_zone_label = $this->attr( 'timeZoneLabel' ); if ( is_null( $show_time_zone ) ) { $show_time_zone = tribe_get_option( 'tribe_events_timezones_show_zone', false ); } if ( is_null( $time_zone_label ) ) { $time_zone_label = Tribe__Events__Timezones::is_mode( 'site' ) ? Tribe__Events__Timezones::wp_timezone_abbr( $local_start_time ) : Tribe__Events__Timezones::get_event_timezone_abbr( $event_id ); } $formatted_start_date = tribe_get_start_date( $event_id, false, $date_format ); $formatted_start_time = tribe_get_start_time( $event_id, $time_format ); $formatted_end_date = tribe_get_end_date( $event_id, false, $date_format ); $formatted_end_time = tribe_get_end_time( $event_id, $time_format ); $separator_date = get_post_meta( $event_id, '_EventDateTimeSeparator', true ); $separator_time = get_post_meta( $event_id, '_EventTimeRangeSeparator', true ); if ( empty( $separator_time ) ) { $separator_time = tribe_get_option( 'timeRangeSeparator', ' - ' ); } if ( empty( $separator_date ) ) { $separator_date = tribe_get_option( 'dateTimeSeparator', ' - ' ); } $is_all_day = tribe_event_is_all_day( $event_id ); $is_same_day = $formatted_start_date == $formatted_end_date; $is_same_start_end = $formatted_start_date == $formatted_end_date && $formatted_start_time == $formatted_end_time; $event_id = $this->get( 'post_id' ); ?>