add_action( 'acf/include_fields', function() { if ( ! function_exists( 'acf_add_local_field_group' ) ) { return; } acf_add_local_field_group( array( 'key' => 'group_5d4afe955db4c', 'title' => 'Escort Details', 'fields' => array( array( 'key' => 'field_5d4afeb3a4c4b', 'label' => 'Personal Details', 'name' => 'personal_details', 'aria-label' => '', 'type' => 'group', 'instructions' => '', 'required' => 1, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'layout' => 'row', 'sub_fields' => array( array( 'key' => 'field_5d4aff13a4c4c', 'label' => 'Age', 'name' => 'escort_age', 'aria-label' => '', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d4aff2ba4c4d', 'label' => 'Height', 'name' => 'escort_height', 'aria-label' => '', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d4aff45a4c4e', 'label' => 'Dress Size', 'name' => 'escort_dress_size', 'aria-label' => '', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 4 => '4', 6 => '6', 8 => '8', 10 => '10', 12 => '12', 14 => '14', 16 => '16', 18 => '18', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 0, 'return_format' => 'value', 'ajax' => 0, 'placeholder' => '', ), array( 'key' => 'field_5d7a07fec5298', 'label' => 'Bust Size', 'name' => 'escort_bust_size', 'aria-label' => '', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d4aff56a4c4f', 'label' => 'Hair Colour', 'name' => 'hair_colour', 'aria-label' => '', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'Brown' => 'Brown', 'Blonde' => 'Blonde', 'Black' => 'Black', 'Auburn' => 'Auburn', 'Red' => 'Red', 'Gray' => 'Gray', 'White' => 'White', 'Brunette' => 'Brunette', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 0, 'return_format' => 'value', 'ajax' => 0, 'placeholder' => '', ), array( 'key' => 'field_5d4affcaa4c50', 'label' => 'Eye Colour', 'name' => 'escort_eye_colour', 'aria-label' => '', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'Brown' => 'Brown', 'Hazel' => 'Hazel', 'Blue' => 'Blue', 'Green' => 'Green', 'Gray' => 'Gray', 'Amber' => 'Amber', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 0, 'return_format' => 'value', 'ajax' => 0, 'placeholder' => '', ), ), ), array( 'key' => 'field_5d4be4f63fe20', 'label' => 'Areas Covered', 'name' => 'areas_covered', 'aria-label' => '', 'type' => 'group', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'layout' => 'row', 'sub_fields' => array( array( 'key' => 'field_5d4be5263fe21', 'label' => 'Areas', 'name' => 'escort_areas', 'aria-label' => '', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'Cambridge' => 'Cambridge', 'Chelmsford' => 'Chelmsford', 'Ipswich' => 'Ipswich', 'Norwich' => 'Norwich', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 1, 'ui' => 0, 'return_format' => 'value', 'ajax' => 0, 'placeholder' => '', ), ), ), array( 'key' => 'field_5d4be5f0414ff', 'label' => 'Description', 'name' => 'escort_description', 'aria-label' => '', 'type' => 'textarea', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '50', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => 10, 'new_lines' => 'wpautop', ), array( 'key' => 'field_5d650a3c062e1', 'label' => 'Featured', 'name' => 'escort_featured', 'aria-label' => '', 'type' => 'radio', 'instructions' => 'Select whether the profile will appear in the featured section', 'required' => 1, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '50', 'class' => '', 'id' => '', ), 'choices' => array( 'Yes' => 'Yes', 'No' => 'No', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'No', 'layout' => 'horizontal', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d809e689d235', 'label' => 'Gallery', 'name' => 'escort_gallery', 'aria-label' => '', 'type' => 'gallery', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'array', 'preview_size' => 'medium', 'insert' => 'append', 'library' => 'all', 'min' => '', 'max' => '', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), 'location' => array( array( array( 'param' => 'post_type', 'operator' => '==', 'value' => 'escort', ), ), ), 'menu_order' => 0, 'position' => 'acf_after_title', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', 'show_in_rest' => false, ) ); } );