options = get_option( 'atcb_global_settings' ); $locale = get_Locale(); $language = explode( '_', $locale )[0]; $supportedLanguages = ['en', 'de']; if ($language == 'en' or !in_array($language, $supportedLanguages)) { $language = ''; } else { $language .= '/'; } $configLink = 'add-to-calendar-button.com/' . $language . 'configuration'; $proLink = 'https://add-to-calendar-pro.com/' . $language; ?>

Add to Calendar Settings


 

 

Get started

', ( isset( $this->options['atcb_go_unstyle'] ) && $this->options['atcb_go_unstyle'] === 'true' ) ? 'checked' : '' ); echo '

(' . __("Mind that elements will not be styled, if activated! You would need to use the customCss option to style them; or (if using the PRO version) activate the \"Load Async\" option at respective styles.", 'add-to-calendar-button') . ')

'; } } if (is_admin()) $atcb_settings_page = new ATCBSettingsPage(); ?>