<?php
if (function_exists('acf_add_local_field_group')):

    acf_add_local_field_group(array(
        'key' => 'group_5e8e345b79985',
        'title' => __( 'Product Layout Options', 'histudy' ),
        'fields' => array(

            array(
                'key' => 'field_product_wc_single_layout',
                'label' => __( 'Select Product Template', 'histudy' ),
                'name' => 'product_wc_single_layout',
                'type' => 'select',
                'instructions' => '',
                'required' => 0,
                'wrapper' => array(
                    'width' => '',
                    'class' => '',
                    'id' => '',
                ),
                'choices' => array(
                    0 => __( 'Default', 'histudy' ),
                    1 => __( 'Layout 1', 'histudy' ),
                    2 => __( 'Layout 2', 'histudy' ),
                    3 => __( 'Layout 3', 'histudy' ),
                    4 => __( 'Layout 4', 'histudy' ),
                    5 => __( 'Layout 5', 'histudy' ),

                ),

                'default_value' => array(),

                'allow_null' => 0,
                'multiple' => 0,
                'ui' => 0,
                'return_format' => 'value',
                'ajax' => 0,
                'placeholder' => '',

            ),

        ),
        'location' => array(
            array(
                array(
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'product',
                ),
            ),
        ),
        'menu_order' => 0,
        'position' => 'normal',
        'style' => 'default',
        'label_placement' => 'top',
        'instruction_placement' => 'label',
        'hide_on_screen' => '',
        'active' => true,
        'description' => '',
    ));

endif;
