<?php
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
// phpcs:disable WordPress.WP.I18n.MissingTranslatorsComment

// Don't load directly
if (!defined('ABSPATH')) { exit; }

// Dynamically load ACF field groups, allowing for translation and other dynamic settings
if (function_exists('acf_add_local_field_group')) {
	include_once(ABSPATH . WPINC . '/class-wp-locale.php');
	$wp_locale = new WP_Locale;
	
	// Define field group
	$field_group = array(
		'key' => 'group_66686cbd90d69',
		'title' => __('ICS Events Details', 'ics-calendar-pro'),
		'fields' => array(
			array(
				'key' => 'field_66687541f1756',
				'label' => __('Date and Time', 'ics-calendar-pro'),
				'name' => '',
				'type' => 'tab',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'placement' => 'top',
				'endpoint' => 0,
				'selected' => 0,
			),
			array(
				'key' => 'field_66686d244c403',
				'label' => '&nbsp;',
				'name' => 'all_day',
				'type' => 'true_false',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '15',
					'class' => 'clear',
					'id' => '',
				),
				'message' => '<strong>' . __('All Day', 'ics-calendar-pro') . '</strong>',
				'default_value' => 0,
				'ui' => 0,
				'ui_on_text' => '',
				'ui_off_text' => '',
			),
			array(
				'key' => 'field_66686d344c404',
				'label' => __('Start Date', 'ics-calendar-pro'),
				'name' => 'start_date',
				'type' => 'date_picker',
				'instructions' => '',
				'required' => 1,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_66686d244c403',
							'operator' => '==',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '30',
					'class' => '',
					'id' => '',
				),
				'display_format' => get_option('date_format'),
				'return_format' => 'Ymd',
				'first_day' => get_option('start_of_week'),
				'default_value' => r34ics_date(get_option('date_format')),
			),
			array(
				'key' => 'field_66686d754c406',
				'label' => __('Start Date/Time', 'ics-calendar-pro'),
				'name' => 'start_datetime',
				'type' => 'date_time_picker',
				'instructions' => '',
				'required' => 1,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_66686d244c403',
							'operator' => '!=',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '30',
					'class' => '',
					'id' => '',
				),
				'display_format' => get_option('date_format') . ' ' . get_option('time_format'),
				'return_format' => 'Ymd\\THis\\Z',
				'first_day' => get_option('start_of_week'),
				'default_value' => r34ics_date(get_option('date_format') . ' ' . get_option('time_format'), '10:00 am'),
			),
			array(
				'key' => 'field_66686d644c405',
				'label' => __('End Date', 'ics-calendar-pro'),
				'name' => 'end_date',
				'type' => 'date_picker',
				'instructions' => '',
				'required' => 1,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_66686d244c403',
							'operator' => '==',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '30',
					'class' => '',
					'id' => '',
				),
				'display_format' => get_option('date_format'),
				'return_format' => 'Ymd',
				'first_day' => get_option('start_of_week'),
				'default_value' => '',
			),
			array(
				'key' => 'field_66686dc64c407',
				'label' => __('End Date/Time', 'ics-calendar-pro'),
				'name' => 'end_datetime',
				'type' => 'date_time_picker',
				'instructions' => '',
				'required' => 1,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_66686d244c403',
							'operator' => '!=',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '30',
					'class' => '',
					'id' => '',
				),
				'display_format' => get_option('date_format') . ' ' . get_option('time_format'),
				'return_format' => 'Ymd\\THis\\Z',
				'first_day' => get_option('start_of_week'),
				'default_value' => '',
			),
			array(
				'key' => 'field_6668926207a71',
				'label' => __('Timezone', 'ics-calendar-pro'),
				'name' => 'tzid',
				'type' => 'select',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '25',
					'class' => '',
					'id' => '',
				),
				'choices' => r34icspro_tz_dropdown(array(), false, true),
				'default_value' => get_option('timezone_string'),
				'return_format' => 'value',
				'multiple' => 0,
				'allow_null' => 0,
				'ui' => 0,
				'ajax' => 0,
				'placeholder' => '',
			),
			array(
				'key' => 'field_6668701d8032b',
				'label' => __('Recurrence', 'ics-calendar-pro'),
				'name' => 'rrule',
				'type' => 'true_false',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '25',
					'class' => 'clear',
					'id' => '',
				),
				'message' => __('This is a repeating event', 'ics-calendar-pro'),
				'default_value' => 0,
				'ui' => 0,
				'ui_on_text' => '',
				'ui_off_text' => '',
			),
			array(
				'key' => 'field_66687f4821b73',
				'label' => __('Interval', 'ics-calendar-pro'),
				'name' => 'rrule_interval',
				'type' => 'number',
				'instructions' => '',
				'required' => 1,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '20',
					'class' => '',
					'id' => '',
				),
				'default_value' => 1,
				'min' => 1,
				'max' => 365,
				'placeholder' => '',
				'step' => 1,
				'prepend' => 'Every',
				'append' => '',
			),
			array(
				'key' => 'field_66687e7121b72',
				'label' => __('Frequency', 'ics-calendar-pro'),
				'name' => 'rrule_freq',
				'type' => 'select',
				'instructions' => '',
				'required' => 1,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '20',
					'class' => '',
					'id' => '',
				),
				'choices' => array(
					'DAILY' => __('days', 'ics-calendar-pro'),
					'WEEKLY' => __('weeks', 'ics-calendar-pro'),
					'MONTHLY' => __('months', 'ics-calendar-pro'),
				),
				'default_value' => false,
				'return_format' => 'value',
				'multiple' => 0,
				'allow_null' => 0,
				'ui' => 0,
				'ajax' => 0,
				'placeholder' => '',
			),
			array(
				'key' => 'field_666880c6aeac5',
				'label' => __('Day(s) of Week', 'ics-calendar-pro'),
				'name' => 'rrule_week_days',
				'type' => 'checkbox',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
						array(
							'field' => 'field_66687e7121b72',
							'operator' => '==',
							'value' => 'WEEKLY',
						),
					),
				),
				'wrapper' => array(
					'width' => '',
					'class' => 'clear',
					'id' => '',
				),
				'choices' => array(
					'MO' => __('Monday', 'ics-calendar-pro'),
					'TU' => __('Tuesday', 'ics-calendar-pro'),
					'WE' => __('Wednesday', 'ics-calendar-pro'),
					'TH' => __('Thursday', 'ics-calendar-pro'),
					'FR' => __('Friday', 'ics-calendar-pro'),
					'SA' => __('Saturday', 'ics-calendar-pro'),
					'SU' => __('Sunday', 'ics-calendar-pro'),
				),
				'default_value' => false,
				'return_format' => 'value',
				'allow_custom' => 0,
				'layout' => 'horizontal',
				'toggle' => 1,
				'save_custom' => 0,
			),
			array(
				'key' => 'field_6668819a336a7',
				'label' => __('By', 'ics-calendar-pro'),
				'name' => 'rrule_month_by',
				'type' => 'radio',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
						array(
							'field' => 'field_66687e7121b72',
							'operator' => '==',
							'value' => 'MONTHLY',
						),
					),
				),
				'wrapper' => array(
					'width' => '35',
					'class' => '',
					'id' => '',
				),
				'choices' => array(
					'exact date' => __('exact date', 'ics-calendar-pro'),
					'week and day' => __('week and day', 'ics-calendar-pro'),
				),
				'default_value' => '',
				'return_format' => 'value',
				'allow_null' => 0,
				'other_choice' => 0,
				'layout' => 'horizontal',
				'save_other_choice' => 0,
			),
			array(
				'key' => 'field_666882450ea27',
				'label' => __('Exact Date(s)', 'ics-calendar-pro'),
				'name' => 'rrule_month_exact_date',
				'type' => 'checkbox',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
						array(
							'field' => 'field_66687e7121b72',
							'operator' => '==',
							'value' => 'MONTHLY',
						),
						array(
							'field' => 'field_6668819a336a7',
							'operator' => '==',
							'value' => 'exact date',
						),
					),
				),
				'wrapper' => array(
					'width' => '',
					'class' => 'clear',
					'id' => '',
				),
				'choices' => array(
					1 => '1',
					2 => '2',
					3 => '3',
					4 => '4',
					5 => '5',
					6 => '6',
					7 => '7',
					8 => '8',
					9 => '9',
					10 => '10',
					11 => '11',
					12 => '12',
					13 => '13',
					14 => '14',
					15 => '15',
					16 => '16',
					17 => '17',
					18 => '18',
					19 => '19',
					20 => '20',
					21 => '21',
					22 => '22',
					23 => '23',
					24 => '24',
					25 => '25',
					26 => '26',
					27 => '27',
					28 => '28',
					29 => '29',
					30 => '30',
					31 => '31',
				),
				'default_value' => false,
				'return_format' => 'value',
				'allow_custom' => 0,
				'layout' => 'horizontal',
				'toggle' => 1,
				'save_custom' => 0,
			),
			array(
				'key' => 'field_666883fe6d4f2',
				'label' => __('Week(s)', 'ics-calendar-pro'),
				'name' => 'rrule_month_week',
				'type' => 'checkbox',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
						array(
							'field' => 'field_66687e7121b72',
							'operator' => '==',
							'value' => 'MONTHLY',
						),
						array(
							'field' => 'field_6668819a336a7',
							'operator' => '==',
							'value' => 'week and day',
						),
					),
				),
				'wrapper' => array(
					'width' => '',
					'class' => 'clear',
					'id' => '',
				),
				'choices' => array(
					'1' => '1',
					'2' => '2',
					'3' => '3',
					'4' => '4',
					'5' => '5',
					'-1' => __('last', 'ics-calendar-pro'),
				),
				'default_value' => false,
				'return_format' => 'value',
				'allow_custom' => 0,
				'layout' => 'horizontal',
				'toggle' => 1,
				'save_custom' => 0,
			),
			array(
				'key' => 'field_6668842f6d4f3',
				'label' => __('Day(s) of Week', 'ics-calendar-pro'),
				'name' => 'rrule_month_week_days',
				'type' => 'checkbox',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
						array(
							'field' => 'field_66687e7121b72',
							'operator' => '==',
							'value' => 'MONTHLY',
						),
						array(
							'field' => 'field_6668819a336a7',
							'operator' => '==',
							'value' => 'week and day',
						),
					),
				),
				'wrapper' => array(
					'width' => '',
					'class' => 'clear',
					'id' => '',
				),
				'choices' => array(
					'MO' => __('Monday', 'ics-calendar-pro'),
					'TU' => __('Tuesday', 'ics-calendar-pro'),
					'WE' => __('Wednesday', 'ics-calendar-pro'),
					'TH' => __('Thursday', 'ics-calendar-pro'),
					'FR' => __('Friday', 'ics-calendar-pro'),
					'SA' => __('Saturday', 'ics-calendar-pro'),
					'SU' => __('Sunday', 'ics-calendar-pro'),
				),
				'default_value' => false,
				'return_format' => 'value',
				'allow_custom' => 0,
				'layout' => 'horizontal',
				'toggle' => 1,
				'save_custom' => 0,
			),
			array(
				'key' => 'field_66688fd65fd3d',
				'label' => __('End Recurrence', 'ics-calendar-pro'),
				'name' => 'rrule_end',
				'type' => 'radio',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '25',
					'class' => 'clear',
					'id' => '',
				),
				'choices' => array(
					'never' => 'never',
					'on date' => 'on date',
					'after...' => 'after...',
				),
				'default_value' => '',
				'return_format' => 'value',
				'allow_null' => 0,
				'other_choice' => 0,
				'layout' => 'horizontal',
				'save_other_choice' => 0,
			),
			array(
				'key' => 'field_666890375fd3e',
				'label' => __('End on Date', 'ics-calendar-pro'),
				'name' => 'rrule_end_date',
				'type' => 'date_picker',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
						array(
							'field' => 'field_66688fd65fd3d',
							'operator' => '==',
							'value' => 'on date',
						),
					),
				),
				'wrapper' => array(
					'width' => '20',
					'class' => '',
					'id' => '',
				),
				'display_format' => get_option('date_format'),
				'return_format' => 'Ymd',
				'first_day' => get_option('start_of_week'),
			),
			array(
				'key' => 'field_6668908c5fd3f',
				'label' => __('End After', 'ics-calendar-pro'),
				'name' => 'rrule_count',
				'type' => 'number',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
						array(
							'field' => 'field_66688fd65fd3d',
							'operator' => '==',
							'value' => 'after...',
						),
					),
				),
				'wrapper' => array(
					'width' => '20',
					'class' => '',
					'id' => '',
				),
				'default_value' => '',
				'min' => 1,
				'max' => '',
				'placeholder' => '',
				'step' => 1,
				'prepend' => '',
				'append' => 'times',
			),
			array(
				'key' => 'field_67bcc26671365',
				'label' => __('Exception Dates', 'ics-calendar-pro'),
				'name' => 'rrule_exdates',
				'type' => 'repeater',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => array(
					array(
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '1',
						),
					),
				),
				'wrapper' => array(
					'width' => '40',
					'class' => 'clear',
					'id' => '',
				),
				'layout' => 'block',
				'pagination' => 0,
				'min' => 0,
				'max' => 10,
				'collapsed' => '',
				'button_label' => __('Add Exception', 'ics-calendar-pro'),
				'rows_per_page' => 20,
				'sub_fields' => array(
					array(
						'key' => 'field_67bcc2a5c376f',
						'label' => '',
						'name' => 'rrule_exdate',
						'type' => 'date_picker',
						'instructions' => '',
						'required' => 0,
						'conditional_logic' => 0,
						'wrapper' => array(
							'width' => '',
							'class' => '',
							'id' => '',
						),
						'display_format' => get_option('date_format'),
						'return_format' => 'Ymd',
						'first_day' => get_option('start_of_week'),
						'parent_repeater' => 'field_67bcc26671365',
					),
				),
			),
			array(
				'key' => 'field_666895981af47',
				'label' => __('Event Details', 'ics-calendar-pro'),
				'name' => '',
				'type' => 'tab',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'placement' => 'top',
				'endpoint' => 0,
				'selected' => 0,
			),
			array(
				'key' => 'field_666895ad1af48',
				'label' => __('Event Description', 'ics-calendar-pro'),
				'name' => 'description',
				'type' => 'wysiwyg',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'default_value' => '',
				'tabs' => 'all',
				'toolbar' => 'basic',
				'media_upload' => 0,
				'delay' => 0,
			),
			array(
				'key' => 'field_6668707646faf',
				'label' => __('Event/Registration URL', 'ics-calendar-pro'),
				'name' => 'event_url',
				'type' => 'url',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '50',
					'class' => 'clear',
					'id' => '',
				),
				'default_value' => '',
				'placeholder' => '',
			),
			array(
				'key' => 'field_67ca0b42d2f16',

				'label' => sprintf(__('Append %1$s query string to Event/Registration URL?', 'ics-calendar-pro'), 'icsevent'),
				'name' => 'event_url_append_qs',
				'type' => 'radio',

				'instructions' => '<span class="r34icspro-help" aria-hidden="true"><span class="help_content">' . sprintf(__('The %1$s query string variable can be used to pre-fill event information into a field with a form plugin such as Gravity Forms or Ninja Forms. Instructions are available on %2$sour website%3$s. Note: This feature is not yet available for recurring events.', 'ics-calendar-pro'), '<code>icsevent</code>', '<a href="https://icscalendar.com/integrating-ics-events-with-forms/" target="_blank">', '</a>') . '</span></span>',
				'required' => 0,
				'conditional_logic' => array(
					array(
						/*array(
							'field' => 'field_6668707646faf',
							'operator' => '!=',
							'value' => '',
						),*/
						array(
							'field' => 'field_6668701d8032b',
							'operator' => '==',
							'value' => '',
						),
					),
				),
				'wrapper' => array(
					'width' => '50',
					'class' => '',
					'id' => '',
				),
				'choices' => array(
					0 => __('do not append query string', 'ics-calendar-pro'),
					'id' => __('event ID only', 'ics-calendar-pro'),
					'details' => __('event title, date and time', 'ics-calendar-pro'),
				),
				'default_value' => 'busy',
				'return_format' => 'value',
				'allow_null' => 0,
				'other_choice' => 0,
				'layout' => 'vertical',
				'save_other_choice' => 0,
			),
			array(
				'key' => 'field_6668717b1332f',
				'label' => __('Contact', 'ics-calendar-pro'),
				'name' => 'contact',
				'type' => 'text',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '50',
					'class' => 'clear',
					'id' => '',
				),
				'default_value' => '',
				'maxlength' => '',
				'placeholder' => '',
				'prepend' => '',
				'append' => '',
			),
			array(
				'key' => 'field_666871c24991f',
				'label' => __('Attachments', 'ics-calendar-pro'),
				'name' => 'attach',
				'type' => 'repeater',
				'instructions' => '<p class="r34ics"><mark class="alert">' . __('Attachments are stored in the Media Library, and are publicly accessible to anyone who knows the URL. Do not include sensitive information.', 'ics-calendar-pro') . '</mark></p>',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'layout' => 'block',
				'pagination' => 0,
				'min' => 0,
				'max' => 10,
				'collapsed' => '',
				'button_label' => __('Add Attachment', 'ics-calendar-pro'),
				'rows_per_page' => 20,
				'sub_fields' => array(
					array(
						'key' => 'field_666871cc49920',
						'label' => '',
						'name' => 'file',
								'type' => 'file',
						'instructions' => '',
						'required' => 0,
						'conditional_logic' => 0,
						'wrapper' => array(
							'width' => '',
							'class' => '',
							'id' => '',
						),
						'return_format' => 'id',
						'library' => 'all',
						'min_size' => '',
						'max_size' => '',
						'mime_types' => '',
						'parent_repeater' => 'field_666871c24991f',
					),
				),
			),
			array(
				'key' => 'field_66687552f1757',
				'label' => __('Status', 'ics-calendar-pro'),
				'name' => '',
				'type' => 'tab',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'placement' => 'top',
				'endpoint' => 0,
				'selected' => 0,
			),
			array(
				'key' => 'field_68cb0449efb1c',
				'label' => 'Color',
				'name' => 'color',
				'aria-label' => '',
				'type' => 'color_picker',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'default_value' => '',
				'enable_opacity' => 0,
				'return_format' => 'string',
				'allow_in_bindings' => 0,
			),
			array(
				'key' => 'field_6668713bdf03b',
				'label' => __('Show As', 'ics-calendar-pro'),
				'name' => 'freebusy',
				'type' => 'radio',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'choices' => array(
					'busy' => __('busy', 'ics-calendar-pro'),
					'free' => __('free', 'ics-calendar-pro'),
				),
				'default_value' => 'busy',
				'return_format' => 'value',
				'allow_null' => 0,
				'other_choice' => 0,
				'layout' => 'horizontal',
				'save_other_choice' => 0,
			),
			array(
				'key' => 'field_6668750f56db0',
				'label' => __('Status', 'ics-calendar-pro'),
				'name' => 'status',
				'type' => 'radio',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'choices' => array(
					'confirmed' => __('confirmed', 'ics-calendar-pro'),
					'tentative' => __('tentative', 'ics-calendar-pro'),
					'cancelled' => __('cancelled', 'ics-calendar-pro'),
				),
				'default_value' => 'confirmed',
				'return_format' => 'value',
				'allow_null' => 0,
				'other_choice' => 0,
				'layout' => 'horizontal',
				'save_other_choice' => 0,
			),
			array(
				'key' => 'field_66687d9f457e0',
				'label' => __('Visibility', 'ics-calendar-pro'),
				'name' => 'class',
				'type' => 'radio',
				'instructions' => '',
				'required' => 0,
				'conditional_logic' => 0,
				'wrapper' => array(
					'width' => '',
					'class' => '',
					'id' => '',
				),
				'choices' => array(
					'public' => __('public', 'ics-calendar-pro'),
					'private' => __('private', 'ics-calendar-pro'),
					'confidential' => __('confidential', 'ics-calendar-pro'),
				),
				'default_value' => 'public',
				'return_format' => 'value',
				'allow_null' => 0,
				'other_choice' => 0,
				'layout' => 'horizontal',
				'save_other_choice' => 0,
			),
		),
		'location' => array(
			array(
				array(
					'param' => 'post_type',
					'operator' => '==',
					'value' => 'r34icspro_event',
				),
			),
		),
		'menu_order' => 0,
		'position' => 'acf_after_title',
		'style' => 'seamless',
		'label_placement' => 'top',
		'instruction_placement' => 'label',
		'hide_on_screen' => '',
		'active' => true,
		'description' => '',
		'show_in_rest' => 0,
		'display_title' => '',
	);
	
	// Add field group
	acf_add_local_field_group($field_group);
	
}
