PluginProbe ʕ •ᴥ•ʔ
Secure Custom Fields / 6.9.1
Secure Custom Fields v6.9.1
6.9.1 6.9.0 6.8.9 6.8.7 6.8.8 6.8.6 6.8.4 6.8.5 trunk 6.4.0-beta1 6.4.0-beta2 6.4.1 6.4.1-beta3 6.4.1-beta4 6.4.1-beta5 6.4.1-beta6 6.4.1-beta7 6.4.2 6.5.0 6.5.1 6.5.2 6.5.3 6.5.4 6.5.5 6.5.6 6.5.7 6.6.0 6.7.0 6.7.1 6.8.0 6.8.1 6.8.2 6.8.3
secure-custom-fields / schemas / fields / v1 / post_object.json
secure-custom-fields / schemas / fields / v1 Last commit date
accordion.json 2 months ago button_group.json 2 months ago checkbox.json 2 months ago clone.json 2 months ago color_picker.json 2 months ago date_picker.json 2 months ago date_time_picker.json 2 months ago email.json 2 months ago file.json 2 months ago flexible_content.json 2 months ago gallery.json 2 months ago google_map.json 2 months ago group.json 2 months ago icon_picker.json 2 months ago image.json 2 months ago link.json 2 months ago message.json 2 months ago number.json 2 months ago oembed.json 2 months ago page_link.json 2 months ago password.json 2 months ago post_object.json 2 months ago radio.json 2 months ago range.json 2 months ago relationship.json 2 months ago repeater.json 2 months ago select.json 2 months ago tab.json 2 months ago taxonomy.json 2 months ago text.json 2 months ago textarea.json 2 months ago time_picker.json 2 months ago true_false.json 2 months ago url.json 2 months ago user.json 2 months ago wysiwyg.json 2 months ago
post_object.json
147 lines
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "type": "object",
4 "additionalProperties": false,
5 "properties": {
6 "label": {
7 "type": "string",
8 "description": "The field label displayed in the edit screen",
9 "minLength": 1
10 },
11 "type": {
12 "type": "string",
13 "enum": [
14 "post_object"
15 ],
16 "description": "Field type identifier. Must be \"post_object\" for this field type."
17 },
18 "name": {
19 "type": "string",
20 "description": "The field name used to save/load data. Auto-generated from label if not provided.",
21 "pattern": "^[a-z_][a-z0-9_]*$"
22 },
23 "key": {
24 "type": "string",
25 "description": "Unique field key. Auto-generated if not provided.",
26 "pattern": "^field_[a-z0-9]+$"
27 },
28 "instructions": {
29 "type": "string",
30 "description": "Instructions displayed to editors below the field label"
31 },
32 "required": {
33 "type": "boolean",
34 "description": "Whether this field is required",
35 "default": false
36 },
37 "conditional_logic": {
38 "type": [
39 "boolean",
40 "array"
41 ],
42 "description": "Conditional logic rules. Set to false to disable, or provide rules array.",
43 "default": false
44 },
45 "wrapper": {
46 "type": "object",
47 "description": "HTML wrapper attributes",
48 "properties": {
49 "width": {
50 "type": "string",
51 "description": "Width percentage (e.g., \"50\")"
52 },
53 "class": {
54 "type": "string",
55 "description": "Custom CSS classes"
56 },
57 "id": {
58 "type": "string",
59 "description": "Custom HTML ID"
60 }
61 }
62 },
63 "default_value": {
64 "type": [
65 "string",
66 "number",
67 "boolean",
68 "null"
69 ],
70 "description": "Default value when creating new content"
71 },
72 "placeholder": {
73 "type": "string",
74 "description": "Placeholder text shown in empty fields"
75 },
76 "prepend": {
77 "type": "string",
78 "description": "Text to prepend before the input"
79 },
80 "append": {
81 "type": "string",
82 "description": "Text to append after the input"
83 },
84 "maxlength": {
85 "type": "integer",
86 "description": "Maximum character length (if applicable)",
87 "minimum": 1
88 },
89 "allow_in_bindings": {
90 "type": "boolean",
91 "description": "Whether this field can be used in block bindings",
92 "default": false
93 },
94 "post_type": {
95 "type": "array",
96 "description": "Array of post types to query (e.g., [\"post\", \"page\"]). Leave empty for all post types.",
97 "items": {
98 "type": "string"
99 },
100 "default": []
101 },
102 "taxonomy": {
103 "type": "array",
104 "description": "Array of taxonomy terms to filter by (e.g., [\"category:news\", \"post_tag:featured\"])",
105 "items": {
106 "type": "string"
107 },
108 "default": []
109 },
110 "allow_null": {
111 "type": "boolean",
112 "description": "Allow a null (empty) value to be selected",
113 "default": false
114 },
115 "multiple": {
116 "type": "boolean",
117 "description": "Allow multiple values to be selected",
118 "default": false
119 },
120 "return_format": {
121 "type": "string",
122 "description": "Format of returned value",
123 "enum": [
124 "object",
125 "id"
126 ],
127 "default": "object"
128 },
129 "ui": {
130 "type": "boolean",
131 "description": "Use enhanced Select2 UI",
132 "default": true
133 },
134 "bidirectional_target": {
135 "type": "array",
136 "description": "Array of field keys for bidirectional relationships",
137 "items": {
138 "type": "string"
139 },
140 "default": []
141 }
142 },
143 "required": [
144 "label",
145 "type"
146 ]
147 }