get_url() ), 'timezone-settings' ) ); $enable_button_text = esc_html__( 'Update Time Zone Data', 'the-events-calendar' ); $enable_button_help = sprintf( __( 'Click this button to update your database and take advantage of additional time zone capabilities. Please configure WordPress to use the correct time zone before clicking this button!', 'the-events-calendar' ), esc_url( get_admin_url( null, 'options-general.php' ) ) ); $enable_button_html = << $enable_button_label
$enable_button_text

$enable_button_help

HTML; return [ 'tribe_events_timezones_title' => [ 'type' => 'html', 'html' => '

' . esc_html__( 'Time Zone Settings', 'the-events-calendar' ) . '

', ], 'tribe_events_enable_timezones' => [ 'type' => 'html', 'html' => $enable_button_html, ], 'tribe_events_timezone_mode' => [ 'type' => 'dropdown', 'label' => esc_html__( 'Time zone mode', 'the-events-calendar' ), 'validation_type' => 'options', 'size' => 'large', 'options' => [ 'event' => esc_html__( 'Use manual time zones for each event', 'the-events-calendar' ), 'site' => esc_html__( 'Use the site-wide time zone everywhere', 'the-events-calendar' ), ], ], 'tribe_events_timezones_show_zone' => [ 'type' => 'checkbox_bool', 'label' => esc_html__( 'Show time zone', 'the-events-calendar' ), 'tooltip' => esc_html__( 'Appends the time zone to the end of event scheduling information – this can be useful when you have events in numerous different time zones.', 'the-events-calendar' ), 'default' => false, 'validation_type' => 'boolean', ], ];