<?php

return [
	[
		'page_title' => 'Email Fields',
		'menu_title' => 'Email Fields',
		'parent_slug' => 'woocommerce',
		'capability' => 'manage_options',
		'is_sub' => true,
		'groups' => [
			[
				'key' => 'email-fields-group',
				'title' => 'Email Fields',
				'location' => [
					[
						[
							'param' => 'options_page',
							'operator' => '==',
							'value' => 'acf-options-email-fields',
						],
					],
				],
				'fields' => [
					[
						'key' => 'business-name-field',
						'name' => 'business-name',
						'label' => 'Business Name',
						'wpml_cf_preferences' => 1,
						'type' => 'text',
					],
					[
						'key' => 'business-address-field',
						'name' => 'business-address',
						'label' => 'Business Address',
						'wpml_cf_preferences' => 1,
						'type' => 'text',
					],
					[
						'key' => 'instagram-link-field',
						'name' => 'instagram-link',
						'label' => 'Instagram Link',
						'wpml_cf_preferences' => 1,
						'type' => 'text',
					],
				]
			]
		]
	]
];
