generated from pascalmartineau/wp-skeleton
wip: abstract field groups
This commit is contained in:
@@ -64,7 +64,6 @@ Use GitHub-style checkboxes to mark task completion:
|
|||||||
- [x] Design and create ACF fields for Resource CPT <!-- Completed: group_post_resource.json (8KB) -->
|
- [x] Design and create ACF fields for Resource CPT <!-- Completed: group_post_resource.json (8KB) -->
|
||||||
- [x] Create flexible content field groups for dynamic layouts <!-- Completed: Multiple abstract groups (builder, credits, gallery, offer) -->
|
- [x] Create flexible content field groups for dynamic layouts <!-- Completed: Multiple abstract groups (builder, credits, gallery, offer) -->
|
||||||
- [x] Set up ACF options page for site-wide settings <!-- Completed: group_options_page_ccat.json -->
|
- [x] Set up ACF options page for site-wide settings <!-- Completed: group_options_page_ccat.json -->
|
||||||
- [ ] Finalize the
|
|
||||||
|
|
||||||
### WPGraphQL Integration
|
### WPGraphQL Integration
|
||||||
- [x] Configure GraphQL schema for all CPTs <!-- Completed: All CPTs visible in 866KB schema.graphql -->
|
- [x] Configure GraphQL schema for all CPTs <!-- Completed: All CPTs visible in 866KB schema.graphql -->
|
||||||
|
|||||||
@@ -3,7 +3,11 @@ __( "1024px container", 'ccat' );
|
|||||||
__( "1280px container", 'ccat' );
|
__( "1280px container", 'ccat' );
|
||||||
__( "640px container", 'ccat' );
|
__( "640px container", 'ccat' );
|
||||||
__( "768px container", 'ccat' );
|
__( "768px container", 'ccat' );
|
||||||
|
__( "Abstract – Address (city)", 'ccat' );
|
||||||
|
__( "Abstract – Address (contact)", 'ccat' );
|
||||||
|
__( "Abstract – Address (geo)", 'ccat' );
|
||||||
__( "Abstract – Builder", 'ccat' );
|
__( "Abstract – Builder", 'ccat' );
|
||||||
|
__( "Abstract – Contact", 'ccat' );
|
||||||
__( "Abstract – Credits", 'ccat' );
|
__( "Abstract – Credits", 'ccat' );
|
||||||
__( "Abstract – Entity", 'ccat' );
|
__( "Abstract – Entity", 'ccat' );
|
||||||
__( "Abstract – Gallery", 'ccat' );
|
__( "Abstract – Gallery", 'ccat' );
|
||||||
@@ -64,6 +68,7 @@ __( "Failed", 'ccat' );
|
|||||||
__( "Familial", 'ccat' );
|
__( "Familial", 'ccat' );
|
||||||
__( "Festival", 'ccat' );
|
__( "Festival", 'ccat' );
|
||||||
__( "File", 'ccat' );
|
__( "File", 'ccat' );
|
||||||
|
__( "First name", 'ccat' );
|
||||||
__( "Fluid container", 'ccat' );
|
__( "Fluid container", 'ccat' );
|
||||||
__( "Form", 'ccat' );
|
__( "Form", 'ccat' );
|
||||||
__( "Free", 'ccat' );
|
__( "Free", 'ccat' );
|
||||||
@@ -82,6 +87,7 @@ __( "Institution profile", 'ccat' );
|
|||||||
__( "Interprète", 'ccat' );
|
__( "Interprète", 'ccat' );
|
||||||
__( "Is asynchronous", 'ccat' );
|
__( "Is asynchronous", 'ccat' );
|
||||||
__( "Language(s)", 'ccat' );
|
__( "Language(s)", 'ccat' );
|
||||||
|
__( "Last name", 'ccat' );
|
||||||
__( "Locality", 'ccat' );
|
__( "Locality", 'ccat' );
|
||||||
__( "Location", 'ccat' );
|
__( "Location", 'ccat' );
|
||||||
__( "Location type", 'ccat' );
|
__( "Location type", 'ccat' );
|
||||||
@@ -103,7 +109,6 @@ __( "Options page – CCAT", 'ccat' );
|
|||||||
__( "Organisation", 'ccat' );
|
__( "Organisation", 'ccat' );
|
||||||
__( "Organization profile", 'ccat' );
|
__( "Organization profile", 'ccat' );
|
||||||
__( "Period", 'ccat' );
|
__( "Period", 'ccat' );
|
||||||
__( "Person name", 'ccat' );
|
|
||||||
__( "Phone", 'ccat' );
|
__( "Phone", 'ccat' );
|
||||||
__( "Physical person", 'ccat' );
|
__( "Physical person", 'ccat' );
|
||||||
__( "Planned", 'ccat' );
|
__( "Planned", 'ccat' );
|
||||||
|
|||||||
@@ -0,0 +1,84 @@
|
|||||||
|
{
|
||||||
|
"key": "group_abstract_address_city",
|
||||||
|
"title": "Abstract - Address (city)",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"key": "field_68d5527e52ccc",
|
||||||
|
"label": "Address",
|
||||||
|
"name": "address",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "acfe_address",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"placeholder": "Rechercher une adresse...",
|
||||||
|
"countries": [
|
||||||
|
"ca"
|
||||||
|
],
|
||||||
|
"search_type": "(cities)",
|
||||||
|
"geolocation": 1,
|
||||||
|
"custom_address": 0,
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"api_key": "",
|
||||||
|
"fields": {
|
||||||
|
"68d553b4318a6": {
|
||||||
|
"field": "address",
|
||||||
|
"name": "formatted"
|
||||||
|
},
|
||||||
|
"row-row-0": {
|
||||||
|
"field": "country_short",
|
||||||
|
"name": "country_code"
|
||||||
|
},
|
||||||
|
"row-row-1": {
|
||||||
|
"field": "state_short",
|
||||||
|
"name": "state_code"
|
||||||
|
},
|
||||||
|
"row-68d552af52ccd": {
|
||||||
|
"field": "post_code",
|
||||||
|
"name": "postal_code"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "address",
|
||||||
|
"graphql_non_null": 1,
|
||||||
|
"default_value": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"location": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"param": "abstract"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"menu_order": 0,
|
||||||
|
"position": "normal",
|
||||||
|
"style": "default",
|
||||||
|
"label_placement": "top",
|
||||||
|
"instruction_placement": "label",
|
||||||
|
"hide_on_screen": "",
|
||||||
|
"active": true,
|
||||||
|
"description": "",
|
||||||
|
"show_in_rest": 0,
|
||||||
|
"acfe_autosync": [
|
||||||
|
"json"
|
||||||
|
],
|
||||||
|
"acfe_form": 0,
|
||||||
|
"acfe_display_title": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_field_name": "groupAbstractAddressCity",
|
||||||
|
"map_graphql_types_from_location_rules": 0,
|
||||||
|
"graphql_types": "",
|
||||||
|
"acfe_meta": "",
|
||||||
|
"acfe_note": "",
|
||||||
|
"modified": 1758811326
|
||||||
|
}
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
{
|
||||||
|
"key": "group_abstract_address_contact",
|
||||||
|
"title": "Abstract - Address (contact)",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"key": "field_address_contact_location",
|
||||||
|
"label": "Address",
|
||||||
|
"name": "address",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "acfe_address",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"placeholder": "Search for address...",
|
||||||
|
"countries": [
|
||||||
|
"ca"
|
||||||
|
],
|
||||||
|
"search_type": "address",
|
||||||
|
"geolocation": 1,
|
||||||
|
"custom_address": 0,
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"api_key": "",
|
||||||
|
"fields": {
|
||||||
|
"row-4": {
|
||||||
|
"field": "address",
|
||||||
|
"name": "formatted"
|
||||||
|
},
|
||||||
|
"row-1": {
|
||||||
|
"field": "country_short",
|
||||||
|
"name": "country_code"
|
||||||
|
},
|
||||||
|
"row-3": {
|
||||||
|
"field": "state_short",
|
||||||
|
"name": "state_code"
|
||||||
|
},
|
||||||
|
"68d554ddf7c58": {
|
||||||
|
"field": "city",
|
||||||
|
"name": "city"
|
||||||
|
},
|
||||||
|
"68d554e3f7c59": {
|
||||||
|
"field": "post_code",
|
||||||
|
"name": "postal_code"
|
||||||
|
},
|
||||||
|
"68d554ecf7c5a": {
|
||||||
|
"field": "street_number",
|
||||||
|
"name": "street_number"
|
||||||
|
},
|
||||||
|
"68d554f6f7c5b": {
|
||||||
|
"field": "street_name",
|
||||||
|
"name": "street_name"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 1,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "address",
|
||||||
|
"graphql_non_null": 1,
|
||||||
|
"default_value": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"location": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"param": "abstract"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"menu_order": 0,
|
||||||
|
"position": "normal",
|
||||||
|
"style": "default",
|
||||||
|
"label_placement": "top",
|
||||||
|
"instruction_placement": "label",
|
||||||
|
"hide_on_screen": "",
|
||||||
|
"active": true,
|
||||||
|
"description": "",
|
||||||
|
"show_in_rest": 0,
|
||||||
|
"acfe_autosync": [
|
||||||
|
"json"
|
||||||
|
],
|
||||||
|
"acfe_form": 0,
|
||||||
|
"acfe_display_title": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_field_name": "groupAbstractAddressContact",
|
||||||
|
"map_graphql_types_from_location_rules": 0,
|
||||||
|
"graphql_types": "",
|
||||||
|
"acfe_meta": "",
|
||||||
|
"acfe_note": "",
|
||||||
|
"modified": 1758811411
|
||||||
|
}
|
||||||
106
wp-content/themes/ccat/acf-json/group_abstract_address_geo.json
Normal file
106
wp-content/themes/ccat/acf-json/group_abstract_address_geo.json
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
{
|
||||||
|
"key": "group_abstract_address_geo",
|
||||||
|
"title": "Abstract - Address (geo)",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"key": "field_address_geo_location",
|
||||||
|
"label": "Address",
|
||||||
|
"name": "address",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "acfe_address",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"placeholder": "Search for address...",
|
||||||
|
"countries": "",
|
||||||
|
"search_type": "establishment",
|
||||||
|
"geolocation": 1,
|
||||||
|
"custom_address": 0,
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"api_key": "",
|
||||||
|
"fields": {
|
||||||
|
"row-0": {
|
||||||
|
"field": "address",
|
||||||
|
"name": "formatted"
|
||||||
|
},
|
||||||
|
"row-1": {
|
||||||
|
"field": "country_short",
|
||||||
|
"name": "country_code"
|
||||||
|
},
|
||||||
|
"row-2": {
|
||||||
|
"field": "state_short",
|
||||||
|
"name": "state_code"
|
||||||
|
},
|
||||||
|
"row-3": {
|
||||||
|
"field": "city",
|
||||||
|
"name": "city"
|
||||||
|
},
|
||||||
|
"row-4": {
|
||||||
|
"field": "post_code",
|
||||||
|
"name": "postal_code"
|
||||||
|
},
|
||||||
|
"row-5": {
|
||||||
|
"field": "street_number",
|
||||||
|
"name": "street_number"
|
||||||
|
},
|
||||||
|
"row-6": {
|
||||||
|
"field": "street_name",
|
||||||
|
"name": "street_name"
|
||||||
|
},
|
||||||
|
"68d55568a379d": {
|
||||||
|
"field": "place_id",
|
||||||
|
"name": "place_id"
|
||||||
|
},
|
||||||
|
"68d5556da379e": {
|
||||||
|
"field": "lat",
|
||||||
|
"name": "lat"
|
||||||
|
},
|
||||||
|
"68d55571a379f": {
|
||||||
|
"field": "lng",
|
||||||
|
"name": "lng"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 1,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "address",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"default_value": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"location": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"param": "abstract"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"menu_order": 0,
|
||||||
|
"position": "normal",
|
||||||
|
"style": "default",
|
||||||
|
"label_placement": "top",
|
||||||
|
"instruction_placement": "label",
|
||||||
|
"hide_on_screen": "",
|
||||||
|
"active": true,
|
||||||
|
"description": "",
|
||||||
|
"show_in_rest": 0,
|
||||||
|
"acfe_autosync": [
|
||||||
|
"json"
|
||||||
|
],
|
||||||
|
"acfe_form": 0,
|
||||||
|
"acfe_display_title": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_field_name": "groupAbstractAddressGeo",
|
||||||
|
"map_graphql_types_from_location_rules": 0,
|
||||||
|
"graphql_types": "",
|
||||||
|
"acfe_meta": "",
|
||||||
|
"acfe_note": "",
|
||||||
|
"modified": 1758811522
|
||||||
|
}
|
||||||
174
wp-content/themes/ccat/acf-json/group_abstract_contact.json
Normal file
174
wp-content/themes/ccat/acf-json/group_abstract_contact.json
Normal file
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"key": "group_abstract_contact",
|
||||||
|
"title": "Abstract - Contact",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"key": "field_contact_first_name",
|
||||||
|
"label": "First name",
|
||||||
|
"name": "first_name",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "text",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "50",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"default_value": "",
|
||||||
|
"required_message": "",
|
||||||
|
"maxlength": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "firstName",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_contact_last_name",
|
||||||
|
"label": "Last name",
|
||||||
|
"name": "last_name",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "text",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "50",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"default_value": "",
|
||||||
|
"required_message": "",
|
||||||
|
"maxlength": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "lastName",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_contact_email",
|
||||||
|
"label": "Email",
|
||||||
|
"name": "email",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "email",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "50",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"default_value": "",
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "email",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_contact_phone",
|
||||||
|
"label": "Phone",
|
||||||
|
"name": "phone",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "acfe_phone_number",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "50",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"countries": [
|
||||||
|
"ca"
|
||||||
|
],
|
||||||
|
"preferred_countries": "",
|
||||||
|
"default_country": "ca",
|
||||||
|
"geolocation": 0,
|
||||||
|
"native": 0,
|
||||||
|
"national": 0,
|
||||||
|
"dropdown": 0,
|
||||||
|
"dial_code": 0,
|
||||||
|
"default_value": "",
|
||||||
|
"placeholder": "",
|
||||||
|
"return_format": "array",
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 1,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "phone",
|
||||||
|
"graphql_non_null": 1,
|
||||||
|
"geolocation_token": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_contact_address",
|
||||||
|
"label": "Address",
|
||||||
|
"name": "address",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "clone",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"graphql_field_name": "address",
|
||||||
|
"clone": [
|
||||||
|
"field_address_contact_location"
|
||||||
|
],
|
||||||
|
"display": "seamless",
|
||||||
|
"layout": "block",
|
||||||
|
"prefix_label": 0,
|
||||||
|
"prefix_name": 0,
|
||||||
|
"acfe_seamless_style": 0,
|
||||||
|
"acfe_clone_modal": 0,
|
||||||
|
"acfe_clone_modal_close": 0,
|
||||||
|
"acfe_clone_modal_button": "",
|
||||||
|
"acfe_clone_modal_size": "large"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"location": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"param": "abstract"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"menu_order": 0,
|
||||||
|
"position": "normal",
|
||||||
|
"style": "default",
|
||||||
|
"label_placement": "top",
|
||||||
|
"instruction_placement": "label",
|
||||||
|
"hide_on_screen": "",
|
||||||
|
"active": true,
|
||||||
|
"description": "",
|
||||||
|
"show_in_rest": 0,
|
||||||
|
"acfe_autosync": [
|
||||||
|
"json"
|
||||||
|
],
|
||||||
|
"acfe_form": 0,
|
||||||
|
"acfe_display_title": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_field_name": "groupAbstractContact",
|
||||||
|
"map_graphql_types_from_location_rules": 0,
|
||||||
|
"graphql_types": "",
|
||||||
|
"acfe_meta": "",
|
||||||
|
"acfe_note": "",
|
||||||
|
"modified": 1758811604
|
||||||
|
}
|
||||||
@@ -169,9 +169,9 @@
|
|||||||
"label": "Address",
|
"label": "Address",
|
||||||
"name": "address",
|
"name": "address",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "acfe_address",
|
"type": "clone",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
"required": 0,
|
"required": 1,
|
||||||
"conditional_logic": 0,
|
"conditional_logic": 0,
|
||||||
"wrapper": {
|
"wrapper": {
|
||||||
"width": "",
|
"width": "",
|
||||||
@@ -179,30 +179,18 @@
|
|||||||
"id": ""
|
"id": ""
|
||||||
},
|
},
|
||||||
"graphql_field_name": "address",
|
"graphql_field_name": "address",
|
||||||
"placeholder": "Rechercher une adresse...",
|
"clone": [
|
||||||
"countries": "",
|
"field_68d5527e52ccc"
|
||||||
"search_type": "(cities)",
|
],
|
||||||
"geolocation": 1,
|
"display": "seamless",
|
||||||
"custom_address": 0,
|
"layout": "block",
|
||||||
"prepend": "",
|
"prefix_label": 0,
|
||||||
"append": "",
|
"prefix_name": 0,
|
||||||
"api_key": "",
|
"acfe_seamless_style": 0,
|
||||||
"fields": {
|
"acfe_clone_modal": 0,
|
||||||
"row-2": {
|
"acfe_clone_modal_close": 0,
|
||||||
"field": "country_short",
|
"acfe_clone_modal_button": "",
|
||||||
"name": "country"
|
"acfe_clone_modal_size": "large",
|
||||||
},
|
|
||||||
"row-1": {
|
|
||||||
"field": "state",
|
|
||||||
"name": "state"
|
|
||||||
},
|
|
||||||
"685aa185687d4": {
|
|
||||||
"field": "city",
|
|
||||||
"name": "city"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"default_value": "",
|
|
||||||
"parent_repeater": "field_685aa158687d2"
|
"parent_repeater": "field_685aa158687d2"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -355,5 +343,5 @@
|
|||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1757960468
|
"modified": 1758811648
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,79 @@
|
|||||||
{
|
{
|
||||||
"key": "group_post_listing",
|
"key": "group_post_listing",
|
||||||
"title": "Post - Listing",
|
"title": "Post - Listing",
|
||||||
"fields": [],
|
"fields": [
|
||||||
|
{
|
||||||
|
"key": "field_listing_category",
|
||||||
|
"label": "Listing category",
|
||||||
|
"name": "listing_category",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "taxonomy",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"taxonomy": "listing_category",
|
||||||
|
"field_type": "select",
|
||||||
|
"allow_null": 0,
|
||||||
|
"add_term": 0,
|
||||||
|
"save_terms": 1,
|
||||||
|
"load_terms": 1,
|
||||||
|
"return_format": "object",
|
||||||
|
"multiple": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "listingCategory",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_listing_deadline",
|
||||||
|
"label": "Application deadline",
|
||||||
|
"name": "deadline",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "date_picker",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "50",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"display_format": "Y-m-d",
|
||||||
|
"return_format": "Y-m-d",
|
||||||
|
"first_day": 1,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "deadline",
|
||||||
|
"graphql_non_null": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_listing_external_link",
|
||||||
|
"label": "External link",
|
||||||
|
"name": "external_link",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "url",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "50",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"default_value": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "externalLink",
|
||||||
|
"graphql_non_null": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
"location": [
|
"location": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
"label": "Address",
|
"label": "Address",
|
||||||
"name": "address",
|
"name": "address",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "acfe_address",
|
"type": "clone",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
"required": 1,
|
"required": 1,
|
||||||
"conditional_logic": [
|
"conditional_logic": [
|
||||||
@@ -105,44 +105,18 @@
|
|||||||
"id": ""
|
"id": ""
|
||||||
},
|
},
|
||||||
"graphql_field_name": "address",
|
"graphql_field_name": "address",
|
||||||
"placeholder": "Search for address...",
|
"clone": [
|
||||||
"countries": [
|
"field_address_geo_location"
|
||||||
"ca"
|
|
||||||
],
|
],
|
||||||
"search_type": "establishment",
|
"display": "seamless",
|
||||||
"geolocation": 0,
|
"layout": "block",
|
||||||
"custom_address": 1,
|
"prefix_label": 0,
|
||||||
"prepend": "",
|
"prefix_name": 0,
|
||||||
"append": "",
|
"acfe_seamless_style": 0,
|
||||||
"api_key": "",
|
"acfe_clone_modal": 0,
|
||||||
"fields": {
|
"acfe_clone_modal_close": 0,
|
||||||
"row-0": {
|
"acfe_clone_modal_button": "",
|
||||||
"field": "address",
|
"acfe_clone_modal_size": "large"
|
||||||
"name": "full"
|
|
||||||
},
|
|
||||||
"row-1": {
|
|
||||||
"field": "city",
|
|
||||||
"name": "city"
|
|
||||||
},
|
|
||||||
"row-2": {
|
|
||||||
"field": "post_code",
|
|
||||||
"name": "postal_code"
|
|
||||||
},
|
|
||||||
"6855af79da244": {
|
|
||||||
"field": "place_id",
|
|
||||||
"name": "place_id"
|
|
||||||
},
|
|
||||||
"6855b005da245": {
|
|
||||||
"field": "lat",
|
|
||||||
"name": "lat"
|
|
||||||
},
|
|
||||||
"6855b009da246": {
|
|
||||||
"field": "lng",
|
|
||||||
"name": "lng"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"default_value": ""
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "field_6855b0c3c5a81",
|
"key": "field_6855b0c3c5a81",
|
||||||
@@ -352,5 +326,5 @@
|
|||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1757960447
|
"modified": 1758811729
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,171 +7,28 @@
|
|||||||
"label": "Contact",
|
"label": "Contact",
|
||||||
"name": "contact",
|
"name": "contact",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "group",
|
"type": "clone",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
"required": 0,
|
"required": 1,
|
||||||
"conditional_logic": 0,
|
"conditional_logic": 0,
|
||||||
"wrapper": {
|
"wrapper": {
|
||||||
"width": "",
|
"width": "",
|
||||||
"class": "",
|
"class": "",
|
||||||
"id": ""
|
"id": ""
|
||||||
},
|
},
|
||||||
"layout": "block",
|
|
||||||
"acfe_seamless_style": 0,
|
|
||||||
"acfe_group_modal": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "contact",
|
"graphql_field_name": "contact",
|
||||||
"graphql_non_null": 0,
|
"clone": [
|
||||||
"acfe_group_modal_close": 0,
|
"group_abstract_contact"
|
||||||
"acfe_group_modal_button": "",
|
],
|
||||||
"acfe_group_modal_size": "large",
|
"display": "seamless",
|
||||||
"sub_fields": [
|
"layout": "block",
|
||||||
{
|
"prefix_label": 0,
|
||||||
"key": "field_68c85464c2418",
|
"prefix_name": 0,
|
||||||
"label": "Person name",
|
"acfe_seamless_style": 0,
|
||||||
"name": "person_name",
|
"acfe_clone_modal": 0,
|
||||||
"aria-label": "",
|
"acfe_clone_modal_close": 0,
|
||||||
"type": "text",
|
"acfe_clone_modal_button": "",
|
||||||
"instructions": "",
|
"acfe_clone_modal_size": "large"
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"default_value": "",
|
|
||||||
"required_message": "",
|
|
||||||
"maxlength": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"placeholder": "",
|
|
||||||
"prepend": "",
|
|
||||||
"append": "",
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "personName",
|
|
||||||
"graphql_non_null": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_68c85464c2419",
|
|
||||||
"label": "Email",
|
|
||||||
"name": "email",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "email",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"default_value": "",
|
|
||||||
"required_message": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"placeholder": "",
|
|
||||||
"prepend": "",
|
|
||||||
"append": "",
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "email",
|
|
||||||
"graphql_non_null": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_68c85464c241a",
|
|
||||||
"label": "Phone",
|
|
||||||
"name": "phone",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "acfe_phone_number",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"countries": [
|
|
||||||
"ca"
|
|
||||||
],
|
|
||||||
"preferred_countries": "",
|
|
||||||
"default_country": "ca",
|
|
||||||
"geolocation": 0,
|
|
||||||
"native": 0,
|
|
||||||
"national": 1,
|
|
||||||
"dropdown": 0,
|
|
||||||
"dial_code": 0,
|
|
||||||
"default_value": "",
|
|
||||||
"placeholder": "",
|
|
||||||
"return_format": "number",
|
|
||||||
"required_message": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "phone",
|
|
||||||
"graphql_non_null": 1,
|
|
||||||
"geolocation_token": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_68c85464c241b",
|
|
||||||
"label": "Address",
|
|
||||||
"name": "address",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "acfe_address",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"placeholder": "Rechercher une adresse...",
|
|
||||||
"countries": [
|
|
||||||
"ca"
|
|
||||||
],
|
|
||||||
"search_type": "address",
|
|
||||||
"geolocation": 1,
|
|
||||||
"custom_address": 1,
|
|
||||||
"prepend": "",
|
|
||||||
"append": "",
|
|
||||||
"api_key": "",
|
|
||||||
"fields": {
|
|
||||||
"row-row-row-row-row-0": {
|
|
||||||
"field": "street_number",
|
|
||||||
"name": "street_number"
|
|
||||||
},
|
|
||||||
"row-row-row-row-686d21068e1b9": {
|
|
||||||
"field": "street_name",
|
|
||||||
"name": "street_name"
|
|
||||||
},
|
|
||||||
"row-row-row-row-686d210f8e1ba": {
|
|
||||||
"field": "city",
|
|
||||||
"name": "city"
|
|
||||||
},
|
|
||||||
"row-row-row-row-row-1": {
|
|
||||||
"field": "state",
|
|
||||||
"name": "state"
|
|
||||||
},
|
|
||||||
"row-row-row-row-row-2": {
|
|
||||||
"field": "country_short",
|
|
||||||
"name": "country_code"
|
|
||||||
},
|
|
||||||
"row-row-row-row-686d21198e1bb": {
|
|
||||||
"field": "post_code",
|
|
||||||
"name": "postal_code"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required_message": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "address",
|
|
||||||
"graphql_non_null": 1,
|
|
||||||
"default_value": ""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "field_68c854de2bef8",
|
"key": "field_68c854de2bef8",
|
||||||
@@ -351,7 +208,7 @@
|
|||||||
"label": "Billing",
|
"label": "Billing",
|
||||||
"name": "billing",
|
"name": "billing",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "group",
|
"type": "clone",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
"required": 0,
|
"required": 0,
|
||||||
"conditional_logic": [
|
"conditional_logic": [
|
||||||
@@ -368,160 +225,19 @@
|
|||||||
"class": "",
|
"class": "",
|
||||||
"id": ""
|
"id": ""
|
||||||
},
|
},
|
||||||
"layout": "block",
|
|
||||||
"acfe_seamless_style": 0,
|
|
||||||
"acfe_group_modal": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "billing",
|
"graphql_field_name": "billing",
|
||||||
"graphql_non_null": 0,
|
"clone": [
|
||||||
"acfe_group_modal_close": 0,
|
"group_abstract_contact"
|
||||||
"acfe_group_modal_button": "",
|
],
|
||||||
"acfe_group_modal_size": "large",
|
"display": "group",
|
||||||
"sub_fields": [
|
"layout": "block",
|
||||||
{
|
"prefix_label": 0,
|
||||||
"key": "field_686d20578e1b5",
|
"prefix_name": 0,
|
||||||
"label": "Person name",
|
"acfe_seamless_style": 0,
|
||||||
"name": "person_name",
|
"acfe_clone_modal": 0,
|
||||||
"aria-label": "",
|
"acfe_clone_modal_close": 0,
|
||||||
"type": "text",
|
"acfe_clone_modal_button": "",
|
||||||
"instructions": "",
|
"acfe_clone_modal_size": "large"
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"default_value": "",
|
|
||||||
"required_message": "",
|
|
||||||
"maxlength": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"placeholder": "",
|
|
||||||
"prepend": "",
|
|
||||||
"append": "",
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "personName",
|
|
||||||
"graphql_non_null": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d208c8e1b6",
|
|
||||||
"label": "Email",
|
|
||||||
"name": "email",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "email",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"default_value": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"placeholder": "",
|
|
||||||
"prepend": "",
|
|
||||||
"append": "",
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "email",
|
|
||||||
"graphql_non_null": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d20a08e1b7",
|
|
||||||
"label": "Phone",
|
|
||||||
"name": "phone",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "acfe_phone_number",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"countries": [
|
|
||||||
"ca"
|
|
||||||
],
|
|
||||||
"preferred_countries": "",
|
|
||||||
"default_country": "ca",
|
|
||||||
"geolocation": 0,
|
|
||||||
"native": 0,
|
|
||||||
"national": 1,
|
|
||||||
"dropdown": 0,
|
|
||||||
"dial_code": 0,
|
|
||||||
"default_value": "",
|
|
||||||
"placeholder": "",
|
|
||||||
"return_format": "number",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "phone",
|
|
||||||
"graphql_non_null": 1,
|
|
||||||
"geolocation_token": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d20d48e1b8",
|
|
||||||
"label": "Address",
|
|
||||||
"name": "address",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "acfe_address",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"placeholder": "Rechercher une adresse...",
|
|
||||||
"countries": [
|
|
||||||
"ca"
|
|
||||||
],
|
|
||||||
"search_type": "address",
|
|
||||||
"geolocation": 1,
|
|
||||||
"custom_address": 1,
|
|
||||||
"prepend": "",
|
|
||||||
"append": "",
|
|
||||||
"api_key": "",
|
|
||||||
"fields": {
|
|
||||||
"row-row-row-row-0": {
|
|
||||||
"field": "street_number",
|
|
||||||
"name": "street_number"
|
|
||||||
},
|
|
||||||
"row-row-row-686d21068e1b9": {
|
|
||||||
"field": "street_name",
|
|
||||||
"name": "street_name"
|
|
||||||
},
|
|
||||||
"row-row-row-686d210f8e1ba": {
|
|
||||||
"field": "city",
|
|
||||||
"name": "city"
|
|
||||||
},
|
|
||||||
"row-row-row-row-1": {
|
|
||||||
"field": "state",
|
|
||||||
"name": "state"
|
|
||||||
},
|
|
||||||
"row-row-row-row-2": {
|
|
||||||
"field": "country_short",
|
|
||||||
"name": "country_code"
|
|
||||||
},
|
|
||||||
"row-row-row-686d21198e1bb": {
|
|
||||||
"field": "post_code",
|
|
||||||
"name": "postal_code"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required_message": "",
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "address",
|
|
||||||
"graphql_non_null": 1,
|
|
||||||
"default_value": ""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "field_6855b1f1c65bf",
|
"key": "field_6855b1f1c65bf",
|
||||||
@@ -731,5 +447,5 @@
|
|||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1757960388
|
"modified": 1758811882
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ function ccat_graphql_address_register() {
|
|||||||
array(
|
array(
|
||||||
'description' => 'ACF Extended Pro Address field with optional sub-fields',
|
'description' => 'ACF Extended Pro Address field with optional sub-fields',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'address' => array(
|
'formatted' => array(
|
||||||
'type' => 'String',
|
'type' => 'String',
|
||||||
'description' => 'The full address',
|
'description' => 'The full address (formatted)',
|
||||||
),
|
),
|
||||||
'name' => array(
|
'name' => array(
|
||||||
'type' => 'String',
|
'type' => 'String',
|
||||||
@@ -32,7 +32,7 @@ function ccat_graphql_address_register() {
|
|||||||
'type' => 'String',
|
'type' => 'String',
|
||||||
'description' => 'Full state or province name',
|
'description' => 'Full state or province name',
|
||||||
),
|
),
|
||||||
'stateShort' => array(
|
'stateCode' => array(
|
||||||
'type' => 'String',
|
'type' => 'String',
|
||||||
'description' => 'State or province abbreviation',
|
'description' => 'State or province abbreviation',
|
||||||
),
|
),
|
||||||
@@ -40,7 +40,7 @@ function ccat_graphql_address_register() {
|
|||||||
'type' => 'String',
|
'type' => 'String',
|
||||||
'description' => 'Full country name',
|
'description' => 'Full country name',
|
||||||
),
|
),
|
||||||
'countryShort' => array(
|
'countryCode' => array(
|
||||||
'type' => 'String',
|
'type' => 'String',
|
||||||
'description' => 'Country abbreviation (ISO code)',
|
'description' => 'Country abbreviation (ISO code)',
|
||||||
),
|
),
|
||||||
@@ -103,14 +103,14 @@ function ccat_graphql_address_register_field_type() {
|
|||||||
case 'state':
|
case 'state':
|
||||||
$address_data['state'] = $field_value;
|
$address_data['state'] = $field_value;
|
||||||
break;
|
break;
|
||||||
case 'state_short':
|
case 'state_code':
|
||||||
$address_data['stateShort'] = $field_value;
|
$address_data['stateCode'] = $field_value;
|
||||||
break;
|
break;
|
||||||
case 'country':
|
case 'country':
|
||||||
$address_data['country'] = $field_value;
|
$address_data['country'] = $field_value;
|
||||||
break;
|
break;
|
||||||
case 'country_short':
|
case 'country_code':
|
||||||
$address_data['countryShort'] = $field_value;
|
$address_data['countryCode'] = $field_value;
|
||||||
break;
|
break;
|
||||||
case 'post_code':
|
case 'post_code':
|
||||||
$address_data['postalCode'] = $field_value;
|
$address_data['postalCode'] = $field_value;
|
||||||
|
|||||||
Reference in New Issue
Block a user