Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save materialsmoke/9f3380eda3f98d3fb5b485c2d1414338 to your computer and use it in GitHub Desktop.
Save materialsmoke/9f3380eda3f98d3fb5b485c2d1414338 to your computer and use it in GitHub Desktop.
tmp acf json
[
{
"key": "group_645381e3e72b3",
"title": "my field group",
"fields": [
{
"key": "field_6453820168fe2",
"label": "my field",
"name": "my_field",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_64538a21de4bc",
"label": "my field image",
"name": "my_field_image",
"aria-label": "",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"return_format": "array",
"preview_size": "thumbnail",
"library": "all",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "post"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": false
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment