PluginProbe ʕ •ᴥ•ʔ
Advanced Custom Fields: Extended / 0.8
Advanced Custom Fields: Extended v0.8
0.9.2.6 0.9.2.5 0.8.6 0.8.6.1 0.8.6.3 0.8.6.5 0.8.6.6 0.8.6.7 0.8.6.8 0.8.6.9 0.8.7 0.8.7.1 0.8.7.2 0.8.7.3 0.8.7.4 0.8.7.5 0.8.7.6 0.8.8 0.8.8.1 0.8.8.10 0.8.8.11 0.8.8.2 0.8.8.3 0.8.8.4 0.8.8.5 0.8.8.6 0.8.8.7 0.8.8.8 0.8.8.9 0.8.9 0.8.9.1 0.8.9.2 0.8.9.3 0.8.9.4 0.8.9.5 0.9 0.9.0.1 0.9.0.2 0.9.0.3 0.9.0.4 0.9.0.5 0.9.0.6 0.9.0.7 0.9.0.8 0.9.0.9 0.9.1 0.9.1.1 0.9.2 0.9.2.1 0.9.2.2 0.9.2.3 0.9.2.4 trunk 0.5 0.5.1 0.5.2 0.5.2.1 0.5.2.3 0.5.5 0.5.5.1 0.5.8 0.5.8.1 0.6 0.6.0.1 0.6.0.2 0.6.1 0.6.3 0.6.5 0.6.7 0.6.7.2 0.7 0.7.0.3 0.7.5 0.7.5.5 0.7.8 0.7.9 0.7.9.3 0.7.9.4 0.7.9.9.8 0.7.9.9.9 0.8 0.8.1 0.8.2 0.8.3 0.8.3.1 0.8.4 0.8.4.1 0.8.4.5 0.8.4.6 0.8.5 0.8.5.5
acf-extended / includes / modules / form / field-group.php
acf-extended / includes / modules / form Last commit date
actions 6 years ago admin.php 6 years ago field-group.php 6 years ago form-front.php 6 years ago
field-group.php
4491 lines
1 <?php
2
3 if(!defined('ABSPATH'))
4 exit;
5
6 acf_add_local_field_group(array(
7 'key' => 'group_acfe_dynamic_form',
8 'title' => 'Dynamic Form',
9 'fields' => array(
10 array(
11 'key' => 'field_acfe_form_tab_general',
12 'label' => 'General',
13 'name' => '',
14 'type' => 'tab',
15 'instructions' => '',
16 'required' => 0,
17 'conditional_logic' => 0,
18 'wrapper' => array(
19 'width' => '',
20 'class' => '',
21 'id' => '',
22 ),
23 'acfe_permissions' => '',
24 'placement' => 'top',
25 'endpoint' => 0,
26 ),
27 array(
28 'key' => 'field_acfe_form_name',
29 'label' => 'Form name',
30 'name' => 'acfe_form_name',
31 'type' => 'acfe_slug',
32 'instructions' => 'The unique form slug',
33 'required' => 1,
34 'conditional_logic' => 0,
35 'wrapper' => array(
36 'width' => '',
37 'class' => '',
38 'id' => '',
39 ),
40 'acfe_permissions' => '',
41 'default_value' => '',
42 'placeholder' => '',
43 'prepend' => '',
44 'append' => '',
45 'maxlength' => '',
46 ),
47 array(
48 'key' => 'field_acfe_form_field_groups',
49 'label' => 'Field groups',
50 'name' => 'acfe_form_field_groups',
51 'type' => 'select',
52 'instructions' => 'Select field groups to map fields in the Actions tab',
53 'required' => 1,
54 'conditional_logic' => 0,
55 'wrapper' => array(
56 'width' => '',
57 'class' => '',
58 'id' => '',
59 ),
60 'hide_admin' => 0,
61 'acfe_permissions' => '',
62 'choices' => array(
63 ),
64 'default_value' => array(
65 ),
66 'allow_null' => 0,
67 'multiple' => 1,
68 'ui' => 1,
69 'ajax' => 0,
70 'return_format' => 'value',
71 'placeholder' => '',
72 ),
73 array(
74 'key' => 'field_acfe_form_form_element',
75 'label' => 'Form element',
76 'name' => 'acfe_form_form_element',
77 'type' => 'true_false',
78 'instructions' => 'Whether or not to create a <code>&lt;form&gt;</code> element',
79 'required' => 0,
80 'conditional_logic' => 0,
81 'wrapper' => array(
82 'width' => '',
83 'class' => '',
84 'id' => '',
85 ),
86 'hide_admin' => 0,
87 'acfe_permissions' => '',
88 'message' => '',
89 'default_value' => 1,
90 'ui' => 1,
91 'ui_on_text' => '',
92 'ui_off_text' => '',
93 ),
94 array(
95 'key' => 'field_acfe_form_attributes',
96 'label' => 'Form attributes',
97 'name' => 'acfe_form_attributes',
98 'type' => 'group',
99 'instructions' => 'Form class and id',
100 'required' => 0,
101 'conditional_logic' => 0,
102 'wrapper' => array(
103 'width' => '',
104 'class' => '',
105 'id' => '',
106 ),
107 'acfe_permissions' => '',
108 'layout' => 'block',
109 'acfe_group_modal' => 0,
110 'conditional_logic' => array(
111 array(
112 array(
113 'field' => 'field_acfe_form_form_element',
114 'operator' => '==',
115 'value' => '1',
116 ),
117 ),
118 ),
119 'sub_fields' => array(
120 array(
121 'key' => 'field_acfe_form_attributes_class',
122 'label' => '',
123 'name' => 'acfe_form_attributes_class',
124 'type' => 'text',
125 'instructions' => '',
126 'required' => 0,
127 'conditional_logic' => array(),
128 'wrapper' => array(
129 'width' => '33',
130 'class' => '',
131 'id' => '',
132 ),
133 'acfe_permissions' => '',
134 'default_value' => 'acf-form',
135 'placeholder' => '',
136 'prepend' => 'class',
137 'append' => '',
138 'maxlength' => '',
139 ),
140 array(
141 'key' => 'field_acfe_form_attributes_id',
142 'label' => '',
143 'name' => 'acfe_form_attributes_id',
144 'type' => 'text',
145 'instructions' => '',
146 'required' => 0,
147 'conditional_logic' => array(),
148 'wrapper' => array(
149 'width' => '33',
150 'class' => '',
151 'id' => '',
152 ),
153 'acfe_permissions' => '',
154 'default_value' => '',
155 'placeholder' => '',
156 'prepend' => 'id',
157 'append' => '',
158 'maxlength' => '',
159 ),
160
161 /*
162 array(
163 'key' => 'field_acfe_form_attributes_action',
164 'label' => '',
165 'name' => 'acfe_form_attributes_action',
166 'type' => 'text',
167 'instructions' => '',
168 'required' => 0,
169 'conditional_logic' => array(),
170 'wrapper' => array(
171 'width' => '25',
172 'class' => '',
173 'id' => '',
174 ),
175 'acfe_permissions' => '',
176 'default_value' => '',
177 'placeholder' => '',
178 'prepend' => 'action',
179 'append' => '',
180 'maxlength' => '',
181 ),
182 array(
183 'key' => 'field_acfe_form_attributes_method',
184 'label' => '',
185 'name' => 'acfe_form_attributes_method',
186 'type' => 'text',
187 'instructions' => '',
188 'required' => 0,
189 'conditional_logic' => array(),
190 'wrapper' => array(
191 'width' => '25',
192 'class' => '',
193 'id' => '',
194 ),
195 'acfe_permissions' => '',
196 'default_value' => 'post',
197 'placeholder' => '',
198 'prepend' => 'method',
199 'append' => '',
200 'maxlength' => '',
201 ),
202 */
203
204 ),
205 ),
206 array(
207 'key' => 'field_acfe_form_fields_attributes',
208 'label' => 'Fields class',
209 'name' => 'acfe_form_fields_attributes',
210 'type' => 'group',
211 'instructions' => 'Add class to all fields',
212 'required' => 0,
213 'conditional_logic' => 0,
214 'wrapper' => array(
215 'width' => '',
216 'class' => '',
217 'id' => '',
218 ),
219 'acfe_permissions' => '',
220 'layout' => 'block',
221 'acfe_group_modal' => 0,
222 'conditional_logic' => array(),
223 'sub_fields' => array(
224 array(
225 'key' => 'field_acfe_form_fields_wrapper_class',
226 'label' => '',
227 'name' => 'acfe_form_fields_wrapper_class',
228 'type' => 'text',
229 'instructions' => '',
230 'required' => 0,
231 'conditional_logic' => array(),
232 'wrapper' => array(
233 'width' => '33',
234 'class' => '',
235 'id' => '',
236 ),
237 'acfe_permissions' => '',
238 'default_value' => '',
239 'placeholder' => '',
240 'prepend' => 'wrapper class',
241 'append' => '',
242 'maxlength' => '',
243 ),
244 array(
245 'key' => 'field_acfe_form_fields_class',
246 'label' => '',
247 'name' => 'acfe_form_fields_class',
248 'type' => 'text',
249 'instructions' => '',
250 'required' => 0,
251 'conditional_logic' => array(),
252 'wrapper' => array(
253 'width' => '33',
254 'class' => '',
255 'id' => '',
256 ),
257 'acfe_permissions' => '',
258 'default_value' => '',
259 'placeholder' => '',
260 'prepend' => 'field class',
261 'append' => '',
262 'maxlength' => '',
263 ),
264 ),
265 ),
266 array(
267 'key' => 'field_acfe_form_html_before_fields',
268 'label' => 'HTML Before render',
269 'name' => 'acfe_form_html_before_fields',
270 'type' => 'textarea',
271 'instructions' => 'Extra HTML to add before the fields',
272 'required' => 0,
273 'conditional_logic' => 0,
274 'wrapper' => array(
275 'width' => '',
276 'class' => '',
277 'id' => '',
278 ),
279 'hide_admin' => 0,
280 'acfe_permissions' => '',
281 'default_value' => '',
282 'placeholder' => '',
283 'maxlength' => '',
284 'rows' => 2,
285 'new_lines' => '',
286 'acfe_textarea_code' => 1,
287 ),
288 array(
289 'key' => 'field_acfe_form_custom_html',
290 'label' => 'HTML Form render',
291 'name' => 'acfe_form_custom_html',
292 'type' => 'textarea',
293 'instructions' => 'Render your own customized HTML. This will bypass the native field groups render.<br /><br />
294 Field groups may be included using <code>{field_group:group_key}</code><br/><code>{field_group:Group title}</code><br/><br/>
295 Fields may be included using <code>{field:field_key}</code><br/><code>{field:field_name}</code>',
296 'required' => 0,
297 'conditional_logic' => 0,
298 'wrapper' => array(
299 'width' => '',
300 'class' => '',
301 'id' => '',
302 ),
303 'hide_admin' => 0,
304 'acfe_permissions' => '',
305 'default_value' => '',
306 'placeholder' => '',
307 'maxlength' => '',
308 'rows' => 12,
309 'new_lines' => '',
310 'acfe_textarea_code' => 1,
311 ),
312 array(
313 'key' => 'field_acfe_form_html_after_fields',
314 'label' => 'HTML After render',
315 'name' => 'acfe_form_html_after_fields',
316 'type' => 'textarea',
317 'instructions' => 'Extra HTML to add after the fields',
318 'required' => 0,
319 'conditional_logic' => 0,
320 'wrapper' => array(
321 'width' => '',
322 'class' => '',
323 'id' => '',
324 ),
325 'hide_admin' => 0,
326 'acfe_permissions' => '',
327 'default_value' => '',
328 'placeholder' => '',
329 'maxlength' => '',
330 'rows' => 2,
331 'new_lines' => '',
332 'acfe_textarea_code' => 1,
333 ),
334 array(
335 'key' => 'field_acfe_form_form_submit',
336 'label' => 'Submit button',
337 'name' => 'acfe_form_form_submit',
338 'type' => 'true_false',
339 'instructions' => 'Whether or not to create a form submit button. Defaults to true',
340 'required' => 0,
341 'conditional_logic' => 0,
342 'wrapper' => array(
343 'width' => '',
344 'class' => '',
345 'id' => '',
346 ),
347 'hide_admin' => 0,
348 'acfe_permissions' => '',
349 'message' => '',
350 'default_value' => 1,
351 'ui' => 1,
352 'ui_on_text' => '',
353 'ui_off_text' => '',
354 ),
355 array(
356 'key' => 'field_acfe_form_submit_value',
357 'label' => 'Submit value',
358 'name' => 'acfe_form_submit_value',
359 'type' => 'text',
360 'instructions' => 'The text displayed on the submit button',
361 'required' => 0,
362 'conditional_logic' => array(
363 array(
364 array(
365 'field' => 'field_acfe_form_form_submit',
366 'operator' => '==',
367 'value' => '1',
368 ),
369 ),
370 ),
371 'wrapper' => array(
372 'width' => '',
373 'class' => '',
374 'id' => '',
375 ),
376 'hide_admin' => 0,
377 'acfe_permissions' => '',
378 'default_value' => 'Submit',
379 'placeholder' => '',
380 'prepend' => '',
381 'append' => '',
382 'maxlength' => '',
383 ),
384 array(
385 'key' => 'field_acfe_form_html_submit_button',
386 'label' => 'Submit button',
387 'name' => 'acfe_form_html_submit_button',
388 'type' => 'textarea',
389 'instructions' => 'HTML used to render the submit button.',
390 'required' => 0,
391 'conditional_logic' => array(
392 array(
393 array(
394 'field' => 'field_acfe_form_form_submit',
395 'operator' => '==',
396 'value' => '1',
397 ),
398 ),
399 ),
400 'wrapper' => array(
401 'width' => '',
402 'class' => '',
403 'id' => '',
404 ),
405 'hide_admin' => 0,
406 'acfe_permissions' => '',
407 'default_value' => '<input type="submit" class="acf-button button button-primary button-large" value="%s" />',
408 'placeholder' => '',
409 'maxlength' => '',
410 'rows' => 2,
411 'new_lines' => '',
412 'acfe_textarea_code' => 1,
413 ),
414 array(
415 'key' => 'field_acfe_form_html_submit_spinner',
416 'label' => 'Submit spinner',
417 'name' => 'acfe_form_html_submit_spinner',
418 'type' => 'textarea',
419 'instructions' => 'HTML used to render the submit button loading spinner.',
420 'required' => 0,
421 'conditional_logic' => array(
422 array(
423 array(
424 'field' => 'field_acfe_form_form_submit',
425 'operator' => '==',
426 'value' => '1',
427 ),
428 ),
429 ),
430 'wrapper' => array(
431 'width' => '',
432 'class' => '',
433 'id' => '',
434 ),
435 'hide_admin' => 0,
436 'acfe_permissions' => '',
437 'default_value' => '<span class="acf-spinner"></span>',
438 'placeholder' => '',
439 'maxlength' => '',
440 'rows' => 2,
441 'new_lines' => '',
442 'acfe_textarea_code' => 1,
443 ),
444 array(
445 'key' => 'field_acfe_form_tab_submission',
446 'label' => 'Submission',
447 'name' => '',
448 'type' => 'tab',
449 'instructions' => '',
450 'required' => 0,
451 'conditional_logic' => 0,
452 'wrapper' => array(
453 'width' => '',
454 'class' => '',
455 'id' => '',
456 ),
457 'hide_admin' => 0,
458 'acfe_permissions' => '',
459 'placement' => 'top',
460 'endpoint' => 0,
461 ),
462 array(
463 'key' => 'field_acfe_form_hide_error',
464 'label' => 'Hide general error',
465 'name' => 'acfe_form_hide_error',
466 'type' => 'true_false',
467 'instructions' => 'Hide the general error message: "Validation failed. 1 field requires attention"',
468 'required' => 0,
469 'conditional_logic' => 0,
470 'wrapper' => array(
471 'width' => '',
472 'class' => '',
473 'id' => '',
474 ),
475 'acfe_permissions' => '',
476 'message' => '',
477 'default_value' => 0,
478 'ui' => 1,
479 'ui_on_text' => '',
480 'ui_off_text' => '',
481 ),
482 array(
483 'key' => 'field_acfe_form_hide_unload',
484 'label' => 'Hide confirmation on exit',
485 'name' => 'acfe_form_hide_unload',
486 'type' => 'true_false',
487 'instructions' => 'Do not prompt user on page refresh',
488 'required' => 0,
489 'conditional_logic' => 0,
490 'wrapper' => array(
491 'width' => '',
492 'class' => '',
493 'id' => '',
494 ),
495 'acfe_permissions' => '',
496 'message' => '',
497 'default_value' => 0,
498 'ui' => 1,
499 'ui_on_text' => '',
500 'ui_off_text' => '',
501 ),
502 array(
503 'key' => 'field_acfe_form_errors_position',
504 'label' => 'Fields errors position',
505 'name' => 'acfe_form_errors_position',
506 'type' => 'radio',
507 'instructions' => 'Choose where to display field errors',
508 'required' => 0,
509 'conditional_logic' => 0,
510 'wrapper' => array(
511 'width' => '',
512 'class' => '',
513 'id' => '',
514 ),
515 'hide_admin' => 0,
516 'acfe_permissions' => '',
517 'choices' => array(
518 'above' => 'Above fields',
519 'below' => 'Below fields',
520 'group' => 'Group errors',
521 'hide' => 'Hide errors',
522 ),
523 'allow_null' => 0,
524 'other_choice' => 0,
525 'default_value' => 'above',
526 'layout' => 'vertical',
527 'return_format' => 'value',
528 'save_other_choice' => 0,
529 ),
530 array(
531 'key' => 'field_acfe_form_errors_class',
532 'label' => 'Fields errors class',
533 'name' => 'acfe_form_errors_class',
534 'type' => 'text',
535 'instructions' => 'Add class to error message',
536 'required' => 0,
537 'conditional_logic' => array(
538 array(
539 array(
540 'field' => 'field_acfe_form_errors_position',
541 'operator' => '!=',
542 'value' => 'group',
543 ),
544 array(
545 'field' => 'field_acfe_form_errors_position',
546 'operator' => '!=',
547 'value' => 'hide',
548 ),
549 )
550 ),
551 'wrapper' => array(
552 'width' => '',
553 'class' => '',
554 'id' => '',
555 ),
556 'hide_admin' => 0,
557 'acfe_permissions' => '',
558 'default_value' => '',
559 'placeholder' => '',
560 'prepend' => '',
561 'append' => '',
562 'maxlength' => '',
563 ),
564
565 array(
566 'key' => 'field_acfe_form_updated_message',
567 'label' => 'Success message',
568 'name' => 'acfe_form_updated_message',
569 'type' => 'wysiwyg',
570 'instructions' => 'A message displayed above the form after being redirected. Can also be set to false for no message',
571 'required' => 0,
572 'conditional_logic' => 0,
573 'wrapper' => array(
574 'width' => '',
575 'class' => '',
576 'id' => '',
577 ),
578 'hide_admin' => 0,
579 'acfe_permissions' => '',
580 'default_value' => __('Post updated', 'acf'),
581 'tabs' => 'all',
582 'toolbar' => 'full',
583 'media_upload' => 1,
584 'delay' => 0,
585 ),
586 array(
587 'key' => 'field_acfe_form_html_updated_message',
588 'label' => 'Success wrapper HTML',
589 'name' => 'acfe_form_html_updated_message',
590 'type' => 'textarea',
591 'instructions' => 'HTML used to render the updated message.<br /><br />
592 If used, you have to include the following code <code>%s</code> to print the actual \'Success message\' above.',
593 'required' => 0,
594 'conditional_logic' => 0,
595 'wrapper' => array(
596 'width' => '',
597 'class' => '',
598 'id' => '',
599 ),
600 'hide_admin' => 0,
601 'acfe_permissions' => '',
602 'default_value' => '<div id="message" class="updated">%s</div>',
603 'placeholder' => '',
604 'maxlength' => '',
605 'rows' => 2,
606 'new_lines' => '',
607 'acfe_textarea_code' => 1,
608 ),
609 array(
610 'key' => 'field_acfe_form_updated_hide_form',
611 'label' => 'Hide form',
612 'name' => 'acfe_form_updated_hide_form',
613 'type' => 'true_false',
614 'instructions' => 'Hide form on successful submission',
615 'required' => 0,
616 'conditional_logic' => array(),
617 'wrapper' => array(
618 'width' => '',
619 'class' => '',
620 'id' => '',
621 ),
622 'hide_admin' => 0,
623 'acfe_permissions' => '',
624 'message' => '',
625 'default_value' => 0,
626 'ui' => 1,
627 'ui_on_text' => '',
628 'ui_off_text' => '',
629 ),
630 array(
631 'key' => 'field_acfe_form_return',
632 'label' => 'Redirection',
633 'name' => 'acfe_form_return',
634 'type' => 'text',
635 'instructions' => 'The URL to be redirected to after the form is submit. Defaults to the current URL with a GET parameter <code>?updated=true</code>.<br /><br />
636 A special placeholder <code>%post_url%</code> will be converted to post\'s permalink (handy if creating a new post)<br /><br />
637 A special placeholder <code>%post_id%</code> will be converted to post\'s ID (handy if creating a new post)<br />',
638 'required' => 0,
639 'conditional_logic' => 0,
640 'wrapper' => array(
641 'width' => '',
642 'class' => '',
643 'id' => '',
644 ),
645 'hide_admin' => 0,
646 'acfe_permissions' => '',
647 'default_value' => '',
648 'placeholder' => '',
649 'prepend' => '',
650 'append' => '',
651 'maxlength' => '',
652 ),
653 array(
654 'key' => 'field_acfe_form_tab_actions',
655 'label' => 'Actions',
656 'name' => '',
657 'type' => 'tab',
658 'instructions' => '',
659 'required' => 0,
660 'conditional_logic' => 0,
661 'wrapper' => array(
662 'width' => '',
663 'class' => '',
664 'id' => '',
665 ),
666 'hide_admin' => 0,
667 'acfe_permissions' => '',
668 'placement' => 'top',
669 'endpoint' => 0,
670 ),
671 array(
672 'key' => 'field_acfe_form_actions',
673 'label' => 'Actions',
674 'name' => 'acfe_form_actions',
675 'type' => 'flexible_content',
676 'instructions' => '',
677 'required' => 0,
678 'conditional_logic' => 0,
679 'wrapper' => array(
680 'width' => '',
681 'class' => '',
682 'id' => '',
683 ),
684 'hide_admin' => 0,
685 'acfe_permissions' => '',
686 'acfe_flexible_stylised_button' => 1,
687 'acfe_flexible_layouts_thumbnails' => 0,
688 'acfe_flexible_layouts_templates' => 0,
689 'acfe_flexible_layouts_placeholder' => 0,
690 'acfe_flexible_close_button' => 0,
691 'acfe_flexible_title_edition' => 0,
692 'acfe_flexible_copy_paste' => 0,
693 'acfe_flexible_modal_edition' => 0,
694 'acfe_flexible_modal' => array(
695 'acfe_flexible_modal_enabled' => '0',
696 ),
697 'acfe_flexible_layouts_state' => 'open',
698 'acfe_flexible_layouts_remove_collapse' => 1,
699 'layouts' => array(
700
701 /*
702 * Layout: Custom
703 */
704 'layout_custom' => array(
705 'key' => 'layout_custom',
706 'name' => 'custom',
707 'label' => 'Custom action',
708 'display' => 'row',
709 'sub_fields' => array(
710 array(
711 'key' => 'field_acfe_form_custom_action',
712 'label' => 'Action name',
713 'name' => 'acfe_form_custom_action',
714 'type' => 'text',
715 'instructions' => 'Trigger:<br /><code>filter(\'acfe/form/load/action/action_name\', $form, $post_id)</code><br /><code>action(\'acfe/form/submit/action/action_name\', $form, $post_id)</code>',
716 'required' => 1,
717 'conditional_logic' => 0,
718 'wrapper' => array(
719 'width' => '',
720 'class' => '',
721 'id' => '',
722 ),
723 'acfe_permissions' => '',
724 'default_value' => '',
725 'placeholder' => '',
726 'prepend' => '',
727 'append' => '',
728 'maxlength' => '',
729 ),
730 ),
731 'min' => '',
732 'max' => '',
733 ),
734
735 /*
736 * Layout: Email
737 */
738 'layout_email' => array(
739 'key' => 'layout_email',
740 'name' => 'email',
741 'label' => 'Email action',
742 'display' => 'row',
743 'sub_fields' => array(
744 array(
745 'key' => 'field_acfe_form_email_instructions',
746 'label' => 'Instructions',
747 'name' => '',
748 'type' => 'message',
749 'instructions' => '',
750 'required' => 0,
751 'conditional_logic' => 0,
752 'wrapper' => array(
753 'width' => '',
754 'class' => '',
755 'id' => '',
756 ),
757 'acfe_permissions' => '',
758 'message' => 'Fields may be included using <code>{field:field_key}</code> or <code>{field:title}</code>.<br />
759 All fields may be included using <code>{fields}</code>.',
760 'new_lines' => '',
761 'esc_html' => 0,
762 ),
763 array(
764 'key' => 'field_acfe_form_email_from',
765 'label' => 'From',
766 'name' => 'acfe_form_email_from',
767 'type' => 'text',
768 'instructions' => '',
769 'required' => 1,
770 'conditional_logic' => 0,
771 'wrapper' => array(
772 'width' => '',
773 'class' => '',
774 'id' => '',
775 ),
776 'hide_admin' => 0,
777 'acfe_permissions' => '',
778 'default_value' => '',
779 'placeholder' => 'Name <email@domain.com>',
780 'prepend' => '',
781 'append' => '',
782 'maxlength' => '',
783 ),
784 array(
785 'key' => 'field_acfe_form_email_to',
786 'label' => 'To',
787 'name' => 'acfe_form_email_to',
788 'type' => 'text',
789 'instructions' => '',
790 'required' => 1,
791 'conditional_logic' => 0,
792 'wrapper' => array(
793 'width' => '',
794 'class' => '',
795 'id' => '',
796 ),
797 'hide_admin' => 0,
798 'acfe_permissions' => '',
799 'default_value' => '',
800 'placeholder' => 'email@domain.com',
801 'prepend' => '',
802 'append' => '',
803 ),
804 array(
805 'key' => 'field_acfe_form_email_subject',
806 'label' => 'Subject',
807 'name' => 'acfe_form_email_subject',
808 'type' => 'text',
809 'instructions' => '',
810 'required' => 1,
811 'conditional_logic' => 0,
812 'wrapper' => array(
813 'width' => '',
814 'class' => '',
815 'id' => '',
816 ),
817 'hide_admin' => 0,
818 'acfe_permissions' => '',
819 'default_value' => '',
820 'placeholder' => '',
821 'prepend' => '',
822 'append' => '',
823 'maxlength' => '',
824 ),
825 array(
826 'key' => 'field_acfe_form_email_content',
827 'label' => 'Content',
828 'name' => 'acfe_form_email_content',
829 'type' => 'wysiwyg',
830 'instructions' => '',
831 'required' => 1,
832 'conditional_logic' => 0,
833 'wrapper' => array(
834 'width' => '',
835 'class' => '',
836 'id' => '',
837 ),
838 'hide_admin' => 0,
839 'acfe_permissions' => '',
840 'default_value' => '',
841 'tabs' => 'all',
842 'toolbar' => 'full',
843 'media_upload' => 1,
844 'delay' => 0,
845 ),
846 array(
847 'key' => 'field_acfe_form_email_files',
848 'label' => 'Attachments',
849 'name' => 'acfe_form_email_files',
850 'type' => 'repeater',
851 'instructions' => '',
852 'required' => 0,
853 'conditional_logic' => 0,
854 'wrapper' => array(
855 'width' => '',
856 'class' => '',
857 'id' => '',
858 ),
859 'acfe_permissions' => '',
860 'acfe_repeater_stylised_button' => 0,
861 'collapsed' => '',
862 'min' => 0,
863 'max' => 0,
864 'layout' => 'table',
865 'button_label' => 'Add file',
866 'sub_fields' => array(
867 array(
868 'key' => 'field_acfe_form_email_file',
869 'label' => 'File',
870 'name' => 'acfe_form_email_file',
871 'type' => 'select',
872 'instructions' => '',
873 'required' => 0,
874 'conditional_logic' => 0,
875 'wrapper' => array(
876 'width' => '',
877 'class' => '',
878 'id' => '',
879 ),
880 'acfe_permissions' => '',
881 'choices' => array(
882 ),
883 'default_value' => array(
884 ),
885 'allow_null' => 0,
886 'multiple' => 0,
887 'ui' => 0,
888 'return_format' => 'value',
889 'ajax' => 0,
890 'placeholder' => '',
891 ),
892 ),
893 ),
894 ),
895 'min' => '',
896 'max' => '',
897 ),
898
899 /*
900 * Layout: Option
901 */
902 /*
903 'layout_option' => array(
904 'key' => 'layout_option',
905 'name' => 'option',
906 'label' => 'Option action',
907 'display' => 'row',
908 'sub_fields' => array(
909 array(
910 'key' => 'field_acfe_form_option_load',
911 'label' => 'Load values',
912 'name' => 'acfe_form_option_load',
913 'type' => 'true_false',
914 'instructions' => 'Fill inputs with available values',
915 'required' => 0,
916 'conditional_logic' => 0,
917 'wrapper' => array(
918 'width' => '',
919 'class' => '',
920 'id' => '',
921 ),
922 'acfe_permissions' => '',
923 'message' => '',
924 'default_value' => 1,
925 'ui' => 1,
926 'ui_on_text' => '',
927 'ui_off_text' => '',
928 ),
929 array(
930 'key' => 'field_acfe_form_option_name_group',
931 'label' => 'Targeted option',
932 'name' => 'acfe_form_option_name_group',
933 'type' => 'group',
934 'instructions' => '',
935 'required' => 0,
936 'conditional_logic' => 0,
937 'wrapper' => array(
938 'width' => '',
939 'class' => '',
940 'id' => '',
941 ),
942 'acfe_permissions' => '',
943 'layout' => 'block',
944 'acfe_group_modal' => 0,
945 'sub_fields' => array(
946 array(
947 'key' => 'field_acfe_form_option_name',
948 'label' => '',
949 'name' => 'acfe_form_option_name',
950 'type' => 'select',
951 'instructions' => '',
952 'required' => 0,
953 'conditional_logic' => 0,
954 'wrapper' => array(
955 'width' => '',
956 'class' => '',
957 'id' => '',
958 ),
959 'acfe_permissions' => '',
960 'choices' => array(
961 'custom' => 'Custom option name',
962 ),
963 'default_value' => array(
964 ),
965 'allow_null' => 0,
966 'multiple' => 0,
967 'ui' => 0,
968 'return_format' => 'value',
969 'ajax' => 0,
970 'placeholder' => '',
971 ),
972 array(
973 'key' => 'field_acfe_form_option_name_custom',
974 'label' => '',
975 'name' => 'acfe_form_option_name_custom',
976 'type' => 'text',
977 'instructions' => '',
978 'required' => 1,
979 'conditional_logic' => array(
980 array(
981 array(
982 'field' => 'field_acfe_form_option_name',
983 'operator' => '==',
984 'value' => 'custom',
985 ),
986 ),
987 ),
988 'wrapper' => array(
989 'width' => '',
990 'class' => '',
991 'id' => '',
992 ),
993 'acfe_permissions' => '',
994 'default_value' => '',
995 'placeholder' => 'Option name or {field:name} *',
996 'prepend' => '',
997 'append' => '',
998 'maxlength' => '',
999 ),
1000 ),
1001 ),
1002 array(
1003 'key' => 'field_acfe_form_option_meta',
1004 'label' => 'Meta fields',
1005 'name' => 'acfe_form_option_meta',
1006 'type' => 'checkbox',
1007 'instructions' => 'Choose which ACF fields should be saved to this option',
1008 'required' => 0,
1009 'conditional_logic' => 0,
1010 'wrapper' => array(
1011 'width' => '',
1012 'class' => '',
1013 'id' => '',
1014 ),
1015 'acfe_permissions' => '',
1016 'choices' => array(
1017 ),
1018 'allow_custom' => 0,
1019 'default_value' => array(
1020 ),
1021 'layout' => 'vertical',
1022 'toggle' => 1,
1023 'return_format' => 'value',
1024 'save_custom' => 0,
1025 ),
1026 ),
1027 'min' => '',
1028 'max' => '',
1029 ),
1030 */
1031
1032 /*
1033 * Layout: Post
1034 */
1035 'layout_post' => array(
1036 'key' => 'layout_post',
1037 'name' => 'post',
1038 'label' => 'Post action',
1039 'display' => 'row',
1040 'sub_fields' => array(
1041 array(
1042 'key' => 'field_acfe_form_post_tab_save',
1043 'label' => 'Save',
1044 'name' => '',
1045 'type' => 'tab',
1046 'instructions' => '',
1047 'required' => 0,
1048 'conditional_logic' => 0,
1049 'wrapper' => array(
1050 'width' => '',
1051 'class' => '',
1052 'id' => '',
1053 ),
1054 'acfe_permissions' => '',
1055 'placement' => 'top',
1056 'endpoint' => 0,
1057 ),
1058 array(
1059 'key' => 'field_acfe_form_post_action',
1060 'label' => 'Action',
1061 'name' => 'acfe_form_post_action',
1062 'type' => 'radio',
1063 'instructions' => '',
1064 'required' => 0,
1065 'conditional_logic' => 0,
1066 'wrapper' => array(
1067 'width' => '',
1068 'class' => '',
1069 'id' => '',
1070 ),
1071 'acfe_permissions' => '',
1072 'choices' => array(
1073 'insert_post' => 'Create post',
1074 'update_post' => 'Update post',
1075 ),
1076 'allow_null' => 0,
1077 'other_choice' => 0,
1078 'default_value' => 'insert_post',
1079 'layout' => 'vertical',
1080 'return_format' => 'value',
1081 'save_other_choice' => 0,
1082 ),
1083 array(
1084 'key' => 'field_acfe_form_post_save_target',
1085 'label' => 'Target',
1086 'name' => 'acfe_form_post_save_target',
1087 'type' => 'select',
1088 'instructions' => '',
1089 'required' => 0,
1090 'conditional_logic' => array(
1091 array(
1092 array(
1093 'field' => 'field_acfe_form_post_action',
1094 'operator' => '==',
1095 'value' => 'update_post',
1096 ),
1097 ),
1098 ),
1099 'wrapper' => array(
1100 'width' => '',
1101 'class' => '',
1102 'id' => '',
1103 ),
1104 'acfe_permissions' => '',
1105 'choices' => array(
1106 ),
1107 'default_value' => array(
1108 0 => 'current_post',
1109 ),
1110 'allow_null' => 0,
1111 'multiple' => 0,
1112 'ui' => 1,
1113 'ajax' => 1,
1114 'return_format' => 'value',
1115 'placeholder' => '',
1116 ),
1117 array(
1118 'key' => 'field_acfe_form_post_save_post_type',
1119 'label' => 'Post type',
1120 'name' => 'acfe_form_post_save_post_type',
1121 'type' => 'acfe_post_types',
1122 'instructions' => '',
1123 'required' => 0,
1124 'conditional_logic' => array(
1125 array(
1126 array(
1127 'field' => 'field_acfe_form_post_map_post_type',
1128 'operator' => '==empty',
1129 ),
1130 ),
1131 ),
1132 'wrapper' => array(
1133 'width' => '',
1134 'class' => '',
1135 'id' => '',
1136 ),
1137 'acfe_permissions' => '',
1138 'post_type' => '',
1139 'field_type' => 'select',
1140 'default_value' => '',
1141 'return_format' => 'name',
1142 'allow_null' => 1,
1143 'placeholder' => 'Default',
1144 'multiple' => 0,
1145 'ui' => 0,
1146 'choices' => array(
1147 ),
1148 'ajax' => 0,
1149 'layout' => '',
1150 'toggle' => 0,
1151 'allow_custom' => 0,
1152 ),
1153 array(
1154 'key' => 'field_acfe_form_post_map_post_type_message',
1155 'label' => 'Post type',
1156 'name' => 'acfe_form_post_map_post_type_message',
1157 'type' => 'acfe_dynamic_message',
1158 'instructions' => '',
1159 'required' => 0,
1160 'conditional_logic' => array(
1161 array(
1162 array(
1163 'field' => 'field_acfe_form_post_map_post_type',
1164 'operator' => '!=empty',
1165 ),
1166 ),
1167 ),
1168 'wrapper' => array(
1169 'width' => '',
1170 'class' => '',
1171 'id' => '',
1172 ),
1173 'acfe_permissions' => '',
1174 ),
1175 array(
1176 'key' => 'field_acfe_form_post_save_post_status',
1177 'label' => 'Post status',
1178 'name' => 'acfe_form_post_save_post_status',
1179 'type' => 'acfe_post_statuses',
1180 'instructions' => '',
1181 'required' => 0,
1182 'conditional_logic' => array(
1183 array(
1184 array(
1185 'field' => 'field_acfe_form_post_map_post_status',
1186 'operator' => '==empty',
1187 ),
1188 ),
1189 ),
1190 'wrapper' => array(
1191 'width' => '',
1192 'class' => '',
1193 'id' => '',
1194 ),
1195 'acfe_permissions' => '',
1196 'post_status' => '',
1197 'field_type' => 'select',
1198 'default_value' => '',
1199 'return_format' => 'name',
1200 'allow_null' => 1,
1201 'placeholder' => 'Default',
1202 'multiple' => 0,
1203 'ui' => 0,
1204 'choices' => array(
1205 ),
1206 'ajax' => 0,
1207 'layout' => '',
1208 'toggle' => 0,
1209 'allow_custom' => 0,
1210 ),
1211 array(
1212 'key' => 'field_acfe_form_post_map_post_status_message',
1213 'label' => 'Post status',
1214 'name' => 'acfe_form_post_map_post_status_message',
1215 'type' => 'acfe_dynamic_message',
1216 'instructions' => '',
1217 'required' => 0,
1218 'conditional_logic' => array(
1219 array(
1220 array(
1221 'field' => 'field_acfe_form_post_map_post_status',
1222 'operator' => '!=empty',
1223 ),
1224 ),
1225 ),
1226 'wrapper' => array(
1227 'width' => '',
1228 'class' => '',
1229 'id' => '',
1230 ),
1231 'acfe_permissions' => '',
1232 ),
1233 array(
1234 'key' => 'field_acfe_form_post_save_post_title_group',
1235 'label' => 'Post title',
1236 'name' => 'acfe_form_post_save_post_title_group',
1237 'type' => 'group',
1238 'instructions' => '',
1239 'required' => 0,
1240 'conditional_logic' => array(
1241 array(
1242 array(
1243 'field' => 'field_acfe_form_post_map_post_title',
1244 'operator' => '==empty',
1245 ),
1246 ),
1247 ),
1248 'wrapper' => array(
1249 'width' => '',
1250 'class' => '',
1251 'id' => '',
1252 ),
1253 'acfe_permissions' => '',
1254 'layout' => 'block',
1255 'acfe_group_modal' => 0,
1256 'sub_fields' => array(
1257 array(
1258 'key' => 'field_acfe_form_post_save_post_title',
1259 'label' => '',
1260 'name' => 'acfe_form_post_save_post_title',
1261 'type' => 'select',
1262 'instructions' => '',
1263 'required' => 0,
1264 'conditional_logic' => 0,
1265 'wrapper' => array(
1266 'width' => '',
1267 'class' => '',
1268 'id' => '',
1269 ),
1270 'acfe_permissions' => '',
1271 'choices' => array(
1272 'generated_id' => 'Generated ID',
1273 'custom' => 'Custom title',
1274 ),
1275 'default_value' => array(
1276 ),
1277 'allow_null' => 1,
1278 'multiple' => 0,
1279 'ui' => 0,
1280 'return_format' => 'value',
1281 'placeholder' => 'Default',
1282 'ajax' => 0,
1283 ),
1284 array(
1285 'key' => 'field_acfe_form_post_save_post_title_custom',
1286 'label' => '',
1287 'name' => 'acfe_form_post_save_post_title_custom',
1288 'type' => 'text',
1289 'instructions' => '',
1290 'required' => 1,
1291 'conditional_logic' => array(
1292 array(
1293 array(
1294 'field' => 'field_acfe_form_post_save_post_title',
1295 'operator' => '==',
1296 'value' => 'custom',
1297 ),
1298 ),
1299 ),
1300 'wrapper' => array(
1301 'width' => '',
1302 'class' => '',
1303 'id' => '',
1304 ),
1305 'acfe_permissions' => '',
1306 'default_value' => '',
1307 'placeholder' => 'Available tag: {field:name} *',
1308 'prepend' => '',
1309 'append' => '',
1310 'maxlength' => '',
1311 ),
1312 ),
1313 ),
1314 array(
1315 'key' => 'field_acfe_form_post_map_post_title_message',
1316 'label' => 'Post title',
1317 'name' => 'acfe_form_post_map_post_title_message',
1318 'type' => 'acfe_dynamic_message',
1319 'instructions' => '',
1320 'required' => 0,
1321 'conditional_logic' => array(
1322 array(
1323 array(
1324 'field' => 'field_acfe_form_post_map_post_title',
1325 'operator' => '!=empty',
1326 ),
1327 ),
1328 ),
1329 'wrapper' => array(
1330 'width' => '',
1331 'class' => '',
1332 'id' => '',
1333 ),
1334 'acfe_permissions' => '',
1335 ),
1336 array(
1337 'key' => 'field_acfe_form_post_save_post_name_group',
1338 'label' => 'Post slug',
1339 'name' => 'acfe_form_post_save_post_name_group',
1340 'type' => 'group',
1341 'instructions' => '',
1342 'required' => 0,
1343 'conditional_logic' => array(
1344 array(
1345 array(
1346 'field' => 'field_acfe_form_post_map_post_name',
1347 'operator' => '==empty',
1348 ),
1349 ),
1350 ),
1351 'wrapper' => array(
1352 'width' => '',
1353 'class' => '',
1354 'id' => '',
1355 ),
1356 'acfe_permissions' => '',
1357 'layout' => 'block',
1358 'acfe_group_modal' => 0,
1359 'sub_fields' => array(
1360 array(
1361 'key' => 'field_acfe_form_post_save_post_name',
1362 'label' => '',
1363 'name' => 'acfe_form_post_save_post_name',
1364 'type' => 'select',
1365 'instructions' => '',
1366 'required' => 0,
1367 'conditional_logic' => 0,
1368 'wrapper' => array(
1369 'width' => '',
1370 'class' => '',
1371 'id' => '',
1372 ),
1373 'acfe_permissions' => '',
1374 'choices' => array(
1375 'generated_id' => 'Generated ID',
1376 'custom' => 'Custom slug',
1377 ),
1378 'default_value' => array(
1379 ),
1380 'allow_null' => 1,
1381 'multiple' => 0,
1382 'ui' => 0,
1383 'return_format' => 'value',
1384 'placeholder' => 'Default',
1385 'ajax' => 0,
1386 ),
1387 array(
1388 'key' => 'field_acfe_form_post_save_post_name_custom',
1389 'label' => '',
1390 'name' => 'acfe_form_post_save_post_name_custom',
1391 'type' => 'text',
1392 'instructions' => '',
1393 'required' => 1,
1394 'conditional_logic' => array(
1395 array(
1396 array(
1397 'field' => 'field_acfe_form_post_save_post_name',
1398 'operator' => '==',
1399 'value' => 'custom',
1400 ),
1401 ),
1402 ),
1403 'wrapper' => array(
1404 'width' => '',
1405 'class' => '',
1406 'id' => '',
1407 ),
1408 'acfe_permissions' => '',
1409 'default_value' => '',
1410 'placeholder' => 'Available tag: {field:name} *',
1411 'prepend' => '',
1412 'append' => '',
1413 'maxlength' => '',
1414 ),
1415 ),
1416 ),
1417 array(
1418 'key' => 'field_acfe_form_post_map_post_name_message',
1419 'label' => 'Post slug',
1420 'name' => 'acfe_form_post_map_post_name_message',
1421 'type' => 'acfe_dynamic_message',
1422 'instructions' => '',
1423 'required' => 0,
1424 'conditional_logic' => array(
1425 array(
1426 array(
1427 'field' => 'field_acfe_form_post_map_post_name',
1428 'operator' => '!=empty',
1429 ),
1430 ),
1431 ),
1432 'wrapper' => array(
1433 'width' => '',
1434 'class' => '',
1435 'id' => '',
1436 ),
1437 'acfe_permissions' => '',
1438 ),
1439 array(
1440 'key' => 'field_acfe_form_post_save_post_content_group',
1441 'label' => 'Post content',
1442 'name' => 'acfe_form_post_save_post_content_group',
1443 'type' => 'group',
1444 'instructions' => '',
1445 'required' => 0,
1446 'conditional_logic' => array(
1447 array(
1448 array(
1449 'field' => 'field_acfe_form_post_map_post_content',
1450 'operator' => '==empty',
1451 ),
1452 ),
1453 ),
1454 'wrapper' => array(
1455 'width' => '',
1456 'class' => '',
1457 'id' => '',
1458 ),
1459 'acfe_permissions' => '',
1460 'layout' => 'block',
1461 'acfe_group_modal' => 0,
1462 'sub_fields' => array(
1463 array(
1464 'key' => 'field_acfe_form_post_save_post_content',
1465 'label' => '',
1466 'name' => 'acfe_form_post_save_post_content',
1467 'type' => 'select',
1468 'instructions' => '',
1469 'required' => 0,
1470 'conditional_logic' => 0,
1471 'wrapper' => array(
1472 'width' => '',
1473 'class' => '',
1474 'id' => '',
1475 ),
1476 'acfe_permissions' => '',
1477 'choices' => array(
1478 'custom' => 'Custom content',
1479 ),
1480 'default_value' => array(
1481 ),
1482 'allow_null' => 1,
1483 'multiple' => 0,
1484 'ui' => 0,
1485 'return_format' => 'value',
1486 'placeholder' => 'Default',
1487 'ajax' => 0,
1488 ),
1489 array(
1490 'key' => 'field_acfe_form_post_save_post_content_custom',
1491 'label' => '',
1492 'name' => 'acfe_form_post_save_post_content_custom',
1493 'type' => 'wysiwyg',
1494 'instructions' => '',
1495 'required' => 0,
1496 'conditional_logic' => array(
1497 array(
1498 array(
1499 'field' => 'field_acfe_form_post_save_post_content',
1500 'operator' => '==',
1501 'value' => 'custom',
1502 ),
1503 ),
1504 ),
1505 'wrapper' => array(
1506 'width' => '',
1507 'class' => '',
1508 'id' => '',
1509 ),
1510 'acfe_permissions' => '',
1511 'default_value' => '',
1512 'tabs' => 'all',
1513 'toolbar' => 'full',
1514 'media_upload' => 1,
1515 'delay' => 0,
1516 ),
1517 ),
1518 ),
1519 array(
1520 'key' => 'field_acfe_form_post_map_post_content_message',
1521 'label' => 'Post content',
1522 'name' => 'acfe_form_post_map_post_content_message',
1523 'type' => 'acfe_dynamic_message',
1524 'instructions' => '',
1525 'required' => 0,
1526 'conditional_logic' => array(
1527 array(
1528 array(
1529 'field' => 'field_acfe_form_post_map_post_content',
1530 'operator' => '!=empty',
1531 ),
1532 ),
1533 ),
1534 'wrapper' => array(
1535 'width' => '',
1536 'class' => '',
1537 'id' => '',
1538 ),
1539 'acfe_permissions' => '',
1540 ),
1541 array(
1542 'key' => 'field_acfe_form_post_save_post_author',
1543 'label' => 'Post author',
1544 'name' => 'acfe_form_post_save_post_author',
1545 'type' => 'select',
1546 'instructions' => '',
1547 'required' => 0,
1548 'conditional_logic' => array(
1549 array(
1550 array(
1551 'field' => 'field_acfe_form_post_map_post_author',
1552 'operator' => '==empty',
1553 ),
1554 ),
1555 ),
1556 'wrapper' => array(
1557 'width' => '',
1558 'class' => '',
1559 'id' => '',
1560 ),
1561 'acfe_permissions' => '',
1562 'choices' => array(
1563 ),
1564 'default_value' => array(
1565 ),
1566 'allow_null' => 1,
1567 'multiple' => 0,
1568 'ui' => 1,
1569 'ajax' => 1,
1570 'return_format' => 'value',
1571 'placeholder' => 'Default',
1572 ),
1573 array(
1574 'key' => 'field_acfe_form_post_map_post_author_message',
1575 'label' => 'Post author',
1576 'name' => 'acfe_form_post_map_post_author_message',
1577 'type' => 'acfe_dynamic_message',
1578 'instructions' => '',
1579 'required' => 0,
1580 'conditional_logic' => array(
1581 array(
1582 array(
1583 'field' => 'field_acfe_form_post_map_post_author',
1584 'operator' => '!=empty',
1585 ),
1586 ),
1587 ),
1588 'wrapper' => array(
1589 'width' => '',
1590 'class' => '',
1591 'id' => '',
1592 ),
1593 'acfe_permissions' => '',
1594 ),
1595 array(
1596 'key' => 'field_acfe_form_post_save_post_parent',
1597 'label' => 'Post parent',
1598 'name' => 'acfe_form_post_save_post_parent',
1599 'type' => 'select',
1600 'instructions' => '',
1601 'required' => 0,
1602 'conditional_logic' => array(
1603 array(
1604 array(
1605 'field' => 'field_acfe_form_post_map_post_parent',
1606 'operator' => '==empty',
1607 ),
1608 ),
1609 ),
1610 'wrapper' => array(
1611 'width' => '',
1612 'class' => '',
1613 'id' => '',
1614 ),
1615 'acfe_permissions' => '',
1616 'choices' => array(
1617 ),
1618 'default_value' => array(
1619 ),
1620 'allow_null' => 1,
1621 'multiple' => 0,
1622 'ui' => 1,
1623 'ajax' => 1,
1624 'return_format' => 'value',
1625 'placeholder' => '- Default -',
1626 ),
1627 array(
1628 'key' => 'field_acfe_form_post_map_post_parent_message',
1629 'label' => 'Post parent',
1630 'name' => 'acfe_form_post_map_post_parent_message',
1631 'type' => 'acfe_dynamic_message',
1632 'instructions' => '',
1633 'required' => 0,
1634 'conditional_logic' => array(
1635 array(
1636 array(
1637 'field' => 'field_acfe_form_post_map_post_parent',
1638 'operator' => '!=empty',
1639 ),
1640 ),
1641 ),
1642 'wrapper' => array(
1643 'width' => '',
1644 'class' => '',
1645 'id' => '',
1646 ),
1647 'acfe_permissions' => '',
1648 ),
1649 array(
1650 'key' => 'field_acfe_form_post_save_post_terms',
1651 'label' => 'Post terms',
1652 'name' => 'acfe_form_post_save_post_terms',
1653 'type' => 'acfe_taxonomy_terms',
1654 'instructions' => '',
1655 'required' => 0,
1656 'conditional_logic' => array(
1657 array(
1658 array(
1659 'field' => 'field_acfe_form_post_map_post_terms',
1660 'operator' => '==empty',
1661 ),
1662 ),
1663 ),
1664 'wrapper' => array(
1665 'width' => '',
1666 'class' => '',
1667 'id' => '',
1668 ),
1669 'acfe_permissions' => '',
1670 'taxonomy' => '',
1671 'field_type' => 'select',
1672 'default_value' => '',
1673 'return_format' => 'object',
1674 'allow_null' => 1,
1675 'placeholder' => '- Default -',
1676 'multiple' => 1,
1677 'ui' => 1,
1678 'ajax' => 0,
1679 'choices' => array(
1680 ),
1681 'layout' => '',
1682 'toggle' => 0,
1683 'allow_custom' => 0,
1684 ),
1685 array(
1686 'key' => 'field_acfe_form_post_map_post_terms_message',
1687 'label' => 'Post terms',
1688 'name' => 'acfe_form_post_map_post_terms_message',
1689 'type' => 'acfe_dynamic_message',
1690 'instructions' => '',
1691 'required' => 0,
1692 'conditional_logic' => array(
1693 array(
1694 array(
1695 'field' => 'field_acfe_form_post_map_post_terms',
1696 'operator' => '!=empty',
1697 ),
1698 ),
1699 ),
1700 'wrapper' => array(
1701 'width' => '',
1702 'class' => '',
1703 'id' => '',
1704 ),
1705 'acfe_permissions' => '',
1706 ),
1707 array(
1708 'key' => 'field_acfe_form_post_save_meta',
1709 'label' => 'Save Meta fields',
1710 'name' => 'acfe_form_post_save_meta',
1711 'type' => 'checkbox',
1712 'instructions' => 'Choose which ACF fields should be saved to this post',
1713 'required' => 0,
1714 'conditional_logic' => 0,
1715 'wrapper' => array(
1716 'width' => '',
1717 'class' => '',
1718 'id' => '',
1719 ),
1720 'acfe_permissions' => '',
1721 'choices' => array(
1722 ),
1723 'allow_custom' => 0,
1724 'default_value' => array(
1725 ),
1726 'layout' => 'vertical',
1727 'toggle' => 1,
1728 'return_format' => 'value',
1729 'save_custom' => 0,
1730 ),
1731 array(
1732 'key' => 'acfe_form_post_tab_load',
1733 'label' => 'Load',
1734 'name' => '',
1735 'type' => 'tab',
1736 'instructions' => '',
1737 'required' => 0,
1738 'conditional_logic' => 0,
1739 'wrapper' => array(
1740 'width' => '',
1741 'class' => '',
1742 'id' => '',
1743 ),
1744 'acfe_permissions' => '',
1745 'placement' => 'top',
1746 'endpoint' => 0,
1747 ),
1748 array(
1749 'key' => 'field_acfe_form_post_load_values',
1750 'label' => 'Load Values',
1751 'name' => 'acfe_form_post_load_values',
1752 'type' => 'true_false',
1753 'instructions' => 'Fill inputs with values',
1754 'required' => 0,
1755 'conditional_logic' => 0,
1756 'wrapper' => array(
1757 'width' => '',
1758 'class' => '',
1759 'id' => '',
1760 ),
1761 'acfe_permissions' => '',
1762 'message' => '',
1763 'default_value' => 1,
1764 'ui' => 1,
1765 'ui_on_text' => '',
1766 'ui_off_text' => '',
1767 ),
1768 array(
1769 'key' => 'field_acfe_form_post_load_source',
1770 'label' => 'Values Source',
1771 'name' => 'acfe_form_post_load_source',
1772 'type' => 'select',
1773 'instructions' => '',
1774 'required' => 0,
1775 'conditional_logic' => array(
1776 array(
1777 array(
1778 'field' => 'field_acfe_form_post_load_values',
1779 'operator' => '==',
1780 'value' => '1',
1781 ),
1782 ),
1783 ),
1784 'wrapper' => array(
1785 'width' => '',
1786 'class' => '',
1787 'id' => '',
1788 ),
1789 'acfe_permissions' => '',
1790 'choices' => array(
1791 ),
1792 'default_value' => array(
1793 0 => 'current_post',
1794 ),
1795 'allow_null' => 0,
1796 'multiple' => 0,
1797 'ui' => 1,
1798 'ajax' => 1,
1799 'return_format' => 'value',
1800 'placeholder' => '',
1801 ),
1802 array(
1803 'key' => 'field_acfe_form_post_load_meta',
1804 'label' => 'Fields Values',
1805 'name' => 'acfe_form_post_load_meta',
1806 'type' => 'checkbox',
1807 'instructions' => 'Choose which ACF fields should have values filled',
1808 'required' => 0,
1809 'conditional_logic' => array(
1810 array(
1811 array(
1812 'field' => 'field_acfe_form_post_load_values',
1813 'operator' => '==',
1814 'value' => '1',
1815 ),
1816 ),
1817 ),
1818 'wrapper' => array(
1819 'width' => '',
1820 'class' => '',
1821 'id' => '',
1822 ),
1823 'acfe_permissions' => '',
1824 'choices' => array(
1825 ),
1826 'allow_custom' => 0,
1827 'default_value' => array(
1828 ),
1829 'layout' => 'vertical',
1830 'toggle' => 1,
1831 'return_format' => 'value',
1832 'save_custom' => 0,
1833 ),
1834 array(
1835 'key' => 'acfe_form_post_tab_mapping',
1836 'label' => 'Mapping',
1837 'name' => '',
1838 'type' => 'tab',
1839 'instructions' => '',
1840 'required' => 0,
1841 'conditional_logic' => 0,
1842 'wrapper' => array(
1843 'width' => '',
1844 'class' => '',
1845 'id' => '',
1846 ),
1847 'acfe_permissions' => '',
1848 'placement' => 'top',
1849 'endpoint' => 0,
1850 ),
1851 array(
1852 'key' => 'field_acfe_form_post_map_post_type',
1853 'label' => 'Post type',
1854 'name' => 'acfe_form_post_map_post_type',
1855 'type' => 'select',
1856 'instructions' => '',
1857 'required' => 0,
1858 'conditional_logic' => 0,
1859 'wrapper' => array(
1860 'width' => '',
1861 'class' => '',
1862 'id' => '',
1863 ),
1864 'acfe_permissions' => '',
1865 'choices' => array(
1866 ),
1867 'default_value' => array(
1868 ),
1869 'allow_null' => 1,
1870 'multiple' => 0,
1871 'ui' => 0,
1872 'return_format' => 'value',
1873 'placeholder' => 'Default',
1874 'ajax' => 0,
1875 ),
1876 array(
1877 'key' => 'field_acfe_form_post_map_post_status',
1878 'label' => 'Post status',
1879 'name' => 'acfe_form_post_map_post_status',
1880 'type' => 'select',
1881 'instructions' => '',
1882 'required' => 0,
1883 'conditional_logic' => 0,
1884 'wrapper' => array(
1885 'width' => '',
1886 'class' => '',
1887 'id' => '',
1888 ),
1889 'acfe_permissions' => '',
1890 'choices' => array(
1891 ),
1892 'default_value' => array(
1893 ),
1894 'allow_null' => 1,
1895 'multiple' => 0,
1896 'ui' => 0,
1897 'return_format' => 'value',
1898 'placeholder' => 'Default',
1899 'ajax' => 0,
1900 ),
1901 array(
1902 'key' => 'field_acfe_form_post_map_post_title',
1903 'label' => 'Post title',
1904 'name' => 'acfe_form_post_map_post_title',
1905 'type' => 'select',
1906 'instructions' => '',
1907 'required' => 0,
1908 'conditional_logic' => 0,
1909 'wrapper' => array(
1910 'width' => '',
1911 'class' => '',
1912 'id' => '',
1913 ),
1914 'acfe_permissions' => '',
1915 'choices' => array(
1916 ),
1917 'default_value' => array(
1918 ),
1919 'allow_null' => 1,
1920 'multiple' => 0,
1921 'ui' => 0,
1922 'return_format' => 'value',
1923 'placeholder' => 'Default',
1924 'ajax' => 0,
1925 ),
1926 array(
1927 'key' => 'field_acfe_form_post_map_post_name',
1928 'label' => 'Post slug',
1929 'name' => 'acfe_form_post_map_post_name',
1930 'type' => 'select',
1931 'instructions' => '',
1932 'required' => 0,
1933 'conditional_logic' => 0,
1934 'wrapper' => array(
1935 'width' => '',
1936 'class' => '',
1937 'id' => '',
1938 ),
1939 'acfe_permissions' => '',
1940 'choices' => array(
1941 ),
1942 'default_value' => array(
1943 ),
1944 'allow_null' => 1,
1945 'multiple' => 0,
1946 'ui' => 0,
1947 'return_format' => 'value',
1948 'placeholder' => 'Default',
1949 'ajax' => 0,
1950 ),
1951 array(
1952 'key' => 'field_acfe_form_post_map_post_content',
1953 'label' => 'Post content',
1954 'name' => 'acfe_form_post_map_post_content',
1955 'type' => 'select',
1956 'instructions' => '',
1957 'required' => 0,
1958 'conditional_logic' => 0,
1959 'wrapper' => array(
1960 'width' => '',
1961 'class' => '',
1962 'id' => '',
1963 ),
1964 'acfe_permissions' => '',
1965 'choices' => array(
1966 ),
1967 'default_value' => array(
1968 ),
1969 'allow_null' => 1,
1970 'multiple' => 0,
1971 'ui' => 0,
1972 'return_format' => 'value',
1973 'placeholder' => 'Default',
1974 'ajax' => 0,
1975 ),
1976 array(
1977 'key' => 'field_acfe_form_post_map_post_author',
1978 'label' => 'Post author',
1979 'name' => 'acfe_form_post_map_post_author',
1980 'type' => 'select',
1981 'instructions' => '',
1982 'required' => 0,
1983 'conditional_logic' => 0,
1984 'wrapper' => array(
1985 'width' => '',
1986 'class' => '',
1987 'id' => '',
1988 ),
1989 'acfe_permissions' => '',
1990 'choices' => array(
1991 ),
1992 'default_value' => array(
1993 ),
1994 'allow_null' => 1,
1995 'multiple' => 0,
1996 'ui' => 0,
1997 'return_format' => 'value',
1998 'placeholder' => 'Default',
1999 'ajax' => 0,
2000 ),
2001 array(
2002 'key' => 'field_acfe_form_post_map_post_parent',
2003 'label' => 'Post parent',
2004 'name' => 'acfe_form_post_map_post_parent',
2005 'type' => 'select',
2006 'instructions' => '',
2007 'required' => 0,
2008 'conditional_logic' => 0,
2009 'wrapper' => array(
2010 'width' => '',
2011 'class' => '',
2012 'id' => '',
2013 ),
2014 'acfe_permissions' => '',
2015 'choices' => array(
2016 ),
2017 'default_value' => array(
2018 ),
2019 'allow_null' => 1,
2020 'multiple' => 0,
2021 'ui' => 0,
2022 'return_format' => 'value',
2023 'placeholder' => 'Default',
2024 'ajax' => 0,
2025 ),
2026 array(
2027 'key' => 'field_acfe_form_post_map_post_terms',
2028 'label' => 'Post terms',
2029 'name' => 'acfe_form_post_map_post_terms',
2030 'type' => 'select',
2031 'instructions' => '',
2032 'required' => 0,
2033 'conditional_logic' => 0,
2034 'wrapper' => array(
2035 'width' => '',
2036 'class' => '',
2037 'id' => '',
2038 ),
2039 'acfe_permissions' => '',
2040 'choices' => array(
2041 ),
2042 'default_value' => array(
2043 ),
2044 'allow_null' => 1,
2045 'multiple' => 0,
2046 'ui' => 0,
2047 'return_format' => 'value',
2048 'placeholder' => 'Default',
2049 'ajax' => 0,
2050 ),
2051 ),
2052 'min' => '',
2053 'max' => '',
2054 ),
2055
2056 /*
2057 * Layout: Term
2058 */
2059 'layout_term' => array(
2060 'key' => 'layout_term',
2061 'name' => 'term',
2062 'label' => 'Term action',
2063 'display' => 'row',
2064 'sub_fields' => array(
2065 array(
2066 'key' => 'field_acfe_form_term_tab_save',
2067 'label' => 'Save',
2068 'name' => '',
2069 'type' => 'tab',
2070 'instructions' => '',
2071 'required' => 0,
2072 'conditional_logic' => 0,
2073 'wrapper' => array(
2074 'width' => '',
2075 'class' => '',
2076 'id' => '',
2077 ),
2078 'acfe_permissions' => '',
2079 'placement' => 'top',
2080 'endpoint' => 0,
2081 ),
2082 array(
2083 'key' => 'acfe_form_term_action',
2084 'label' => 'Action',
2085 'name' => 'acfe_form_term_action',
2086 'type' => 'radio',
2087 'instructions' => '',
2088 'required' => 0,
2089 'conditional_logic' => 0,
2090 'wrapper' => array(
2091 'width' => '',
2092 'class' => '',
2093 'id' => '',
2094 ),
2095 'acfe_permissions' => '',
2096 'choices' => array(
2097 'insert_term' => 'Create term',
2098 'update_term' => 'Update term',
2099 ),
2100 'allow_null' => 0,
2101 'other_choice' => 0,
2102 'default_value' => 'insert_post',
2103 'layout' => 'vertical',
2104 'return_format' => 'value',
2105 'save_other_choice' => 0,
2106 ),
2107 array(
2108 'key' => 'field_acfe_form_term_save_target',
2109 'label' => 'Target',
2110 'name' => 'acfe_form_term_save_target',
2111 'type' => 'select',
2112 'instructions' => '',
2113 'required' => 0,
2114 'conditional_logic' => array(
2115 array(
2116 array(
2117 'field' => 'acfe_form_term_action',
2118 'operator' => '==',
2119 'value' => 'update_term',
2120 ),
2121 ),
2122 ),
2123 'wrapper' => array(
2124 'width' => '',
2125 'class' => '',
2126 'id' => '',
2127 ),
2128 'acfe_permissions' => '',
2129 'choices' => array(
2130 ),
2131 'default_value' => array(
2132 0 => 'current_term',
2133 ),
2134 'allow_null' => 0,
2135 'multiple' => 0,
2136 'ui' => 1,
2137 'ajax' => 1,
2138 'return_format' => 'value',
2139 'placeholder' => '',
2140 ),
2141 array(
2142 'key' => 'field_acfe_form_term_save_name_group',
2143 'label' => 'Name',
2144 'name' => 'acfe_form_term_save_name_group',
2145 'type' => 'group',
2146 'instructions' => '',
2147 'required' => 0,
2148 'conditional_logic' => array(
2149 array(
2150 array(
2151 'field' => 'field_acfe_form_term_map_name',
2152 'operator' => '==empty',
2153 ),
2154 ),
2155 ),
2156 'wrapper' => array(
2157 'width' => '',
2158 'class' => '',
2159 'id' => '',
2160 ),
2161 'acfe_permissions' => '',
2162 'layout' => 'block',
2163 'acfe_group_modal' => 0,
2164 'sub_fields' => array(
2165 array(
2166 'key' => 'field_acfe_form_term_save_name',
2167 'label' => '',
2168 'name' => 'acfe_form_term_save_name',
2169 'type' => 'select',
2170 'instructions' => '',
2171 'required' => 0,
2172 'conditional_logic' => 0,
2173 'wrapper' => array(
2174 'width' => '',
2175 'class' => '',
2176 'id' => '',
2177 ),
2178 'acfe_permissions' => '',
2179 'choices' => array(
2180 'custom' => 'Custom name',
2181 ),
2182 'default_value' => array(
2183 ),
2184 'allow_null' => 1,
2185 'multiple' => 0,
2186 'ui' => 0,
2187 'return_format' => 'value',
2188 'placeholder' => 'Default',
2189 'ajax' => 0,
2190 ),
2191 array(
2192 'key' => 'field_acfe_form_term_save_name_custom',
2193 'label' => '',
2194 'name' => 'acfe_form_term_save_name_custom',
2195 'type' => 'text',
2196 'instructions' => '',
2197 'required' => 1,
2198 'conditional_logic' => array(
2199 array(
2200 array(
2201 'field' => 'field_acfe_form_term_save_name',
2202 'operator' => '==',
2203 'value' => 'custom',
2204 ),
2205 ),
2206 ),
2207 'wrapper' => array(
2208 'width' => '',
2209 'class' => '',
2210 'id' => '',
2211 ),
2212 'acfe_permissions' => '',
2213 'default_value' => '',
2214 'placeholder' => 'Available tag: {field:name} *',
2215 'prepend' => '',
2216 'append' => '',
2217 'maxlength' => '',
2218 ),
2219 ),
2220 ),
2221 array(
2222 'key' => 'field_acfe_form_term_map_name_message',
2223 'label' => 'Name',
2224 'name' => 'acfe_form_term_map_name_message',
2225 'type' => 'acfe_dynamic_message',
2226 'instructions' => '',
2227 'required' => 0,
2228 'conditional_logic' => array(
2229 array(
2230 array(
2231 'field' => 'field_acfe_form_term_map_name',
2232 'operator' => '!=empty',
2233 ),
2234 ),
2235 ),
2236 'wrapper' => array(
2237 'width' => '',
2238 'class' => '',
2239 'id' => '',
2240 ),
2241 'acfe_permissions' => '',
2242 ),
2243 array(
2244 'key' => 'field_acfe_form_term_save_slug_group',
2245 'label' => 'Slug',
2246 'name' => 'acfe_form_term_save_slug_group',
2247 'type' => 'group',
2248 'instructions' => '',
2249 'required' => 0,
2250 'conditional_logic' => array(
2251 array(
2252 array(
2253 'field' => 'field_acfe_form_term_map_slug',
2254 'operator' => '==empty',
2255 ),
2256 ),
2257 ),
2258 'wrapper' => array(
2259 'width' => '',
2260 'class' => '',
2261 'id' => '',
2262 ),
2263 'acfe_permissions' => '',
2264 'layout' => 'block',
2265 'acfe_group_modal' => 0,
2266 'sub_fields' => array(
2267 array(
2268 'key' => 'field_acfe_form_term_save_slug',
2269 'label' => '',
2270 'name' => 'acfe_form_term_save_slug',
2271 'type' => 'select',
2272 'instructions' => '',
2273 'required' => 0,
2274 'conditional_logic' => 0,
2275 'wrapper' => array(
2276 'width' => '',
2277 'class' => '',
2278 'id' => '',
2279 ),
2280 'acfe_permissions' => '',
2281 'choices' => array(
2282 'custom' => 'Custom slug',
2283 ),
2284 'default_value' => array(
2285 ),
2286 'allow_null' => 1,
2287 'multiple' => 0,
2288 'ui' => 0,
2289 'return_format' => 'value',
2290 'placeholder' => 'Default',
2291 'ajax' => 0,
2292 ),
2293 array(
2294 'key' => 'field_acfe_form_term_save_slug_custom',
2295 'label' => '',
2296 'name' => 'acfe_form_term_save_slug_custom',
2297 'type' => 'text',
2298 'instructions' => '',
2299 'required' => 1,
2300 'conditional_logic' => array(
2301 array(
2302 array(
2303 'field' => 'field_acfe_form_term_save_slug',
2304 'operator' => '==',
2305 'value' => 'custom',
2306 ),
2307 ),
2308 ),
2309 'wrapper' => array(
2310 'width' => '',
2311 'class' => '',
2312 'id' => '',
2313 ),
2314 'acfe_permissions' => '',
2315 'default_value' => '',
2316 'placeholder' => 'Available tag: {field:name} *',
2317 'prepend' => '',
2318 'append' => '',
2319 'maxlength' => '',
2320 ),
2321 ),
2322 ),
2323 array(
2324 'key' => 'field_acfe_form_term_map_slug_message',
2325 'label' => 'Slug',
2326 'name' => 'acfe_form_term_map_slug_message',
2327 'type' => 'acfe_dynamic_message',
2328 'instructions' => '',
2329 'required' => 0,
2330 'conditional_logic' => array(
2331 array(
2332 array(
2333 'field' => 'field_acfe_form_term_map_slug',
2334 'operator' => '!=empty',
2335 ),
2336 ),
2337 ),
2338 'wrapper' => array(
2339 'width' => '',
2340 'class' => '',
2341 'id' => '',
2342 ),
2343 'acfe_permissions' => '',
2344 ),
2345 array(
2346 'key' => 'field_acfe_form_term_save_taxonomy',
2347 'label' => 'Taxonomy',
2348 'name' => 'acfe_form_term_save_taxonomy',
2349 'type' => 'acfe_taxonomies',
2350 'instructions' => '',
2351 'required' => 0,
2352 'conditional_logic' => array(
2353 array(
2354 array(
2355 'field' => 'field_acfe_form_term_map_taxonomy',
2356 'operator' => '==empty',
2357 ),
2358 ),
2359 ),
2360 'wrapper' => array(
2361 'width' => '',
2362 'class' => '',
2363 'id' => '',
2364 ),
2365 'acfe_permissions' => '',
2366 'taxonomy' => '',
2367 'field_type' => 'select',
2368 'default_value' => '',
2369 'return_format' => 'name',
2370 'allow_null' => 1,
2371 'placeholder' => 'Default',
2372 'multiple' => 0,
2373 'ui' => 0,
2374 'choices' => array(
2375 ),
2376 'ajax' => 0,
2377 'layout' => '',
2378 'toggle' => 0,
2379 'allow_custom' => 0,
2380 ),
2381 array(
2382 'key' => 'field_acfe_form_term_map_taxonomy_message',
2383 'label' => 'Taxonomy',
2384 'name' => 'acfe_form_term_map_taxonomy_message',
2385 'type' => 'acfe_dynamic_message',
2386 'instructions' => '',
2387 'required' => 0,
2388 'conditional_logic' => array(
2389 array(
2390 array(
2391 'field' => 'field_acfe_form_term_map_taxonomy',
2392 'operator' => '!=empty',
2393 ),
2394 ),
2395 ),
2396 'wrapper' => array(
2397 'width' => '',
2398 'class' => '',
2399 'id' => '',
2400 ),
2401 'acfe_permissions' => '',
2402 ),
2403 array(
2404 'key' => 'field_acfe_form_term_save_parent',
2405 'label' => 'Parent',
2406 'name' => 'acfe_form_term_save_parent',
2407 'type' => 'select',
2408 'instructions' => '',
2409 'required' => 0,
2410 'conditional_logic' => array(
2411 array(
2412 array(
2413 'field' => 'field_acfe_form_term_map_parent',
2414 'operator' => '==empty',
2415 ),
2416 ),
2417 ),
2418 'wrapper' => array(
2419 'width' => '',
2420 'class' => '',
2421 'id' => '',
2422 ),
2423 'acfe_permissions' => '',
2424 'choices' => array(
2425 ),
2426 'default_value' => array(
2427 ),
2428 'allow_null' => 1,
2429 'multiple' => 0,
2430 'ui' => 1,
2431 'ajax' => 1,
2432 'return_format' => 'value',
2433 'placeholder' => 'Default',
2434 ),
2435 array(
2436 'key' => 'field_acfe_form_term_map_parent_message',
2437 'label' => 'Parent',
2438 'name' => 'acfe_form_term_map_parent_message',
2439 'type' => 'acfe_dynamic_message',
2440 'instructions' => '',
2441 'required' => 0,
2442 'conditional_logic' => array(
2443 array(
2444 array(
2445 'field' => 'field_acfe_form_term_map_parent',
2446 'operator' => '!=empty',
2447 ),
2448 ),
2449 ),
2450 'wrapper' => array(
2451 'width' => '',
2452 'class' => '',
2453 'id' => '',
2454 ),
2455 'acfe_permissions' => '',
2456 ),
2457 array(
2458 'key' => 'field_acfe_form_term_save_description_group',
2459 'label' => 'Description',
2460 'name' => 'acfe_form_term_save_description_group',
2461 'type' => 'group',
2462 'instructions' => '',
2463 'required' => 0,
2464 'conditional_logic' => array(
2465 array(
2466 array(
2467 'field' => 'field_acfe_form_term_map_description',
2468 'operator' => '==empty',
2469 ),
2470 ),
2471 ),
2472 'wrapper' => array(
2473 'width' => '',
2474 'class' => '',
2475 'id' => '',
2476 ),
2477 'acfe_permissions' => '',
2478 'layout' => 'block',
2479 'acfe_group_modal' => 0,
2480 'sub_fields' => array(
2481 array(
2482 'key' => 'field_acfe_form_term_save_description',
2483 'label' => '',
2484 'name' => 'acfe_form_term_save_description',
2485 'type' => 'select',
2486 'instructions' => '',
2487 'required' => 0,
2488 'conditional_logic' => 0,
2489 'wrapper' => array(
2490 'width' => '',
2491 'class' => '',
2492 'id' => '',
2493 ),
2494 'acfe_permissions' => '',
2495 'choices' => array(
2496 'custom' => 'Custom description',
2497 ),
2498 'default_value' => array(
2499 ),
2500 'allow_null' => 1,
2501 'multiple' => 0,
2502 'ui' => 0,
2503 'return_format' => 'value',
2504 'placeholder' => 'Default',
2505 'ajax' => 0,
2506 ),
2507 array(
2508 'key' => 'field_acfe_form_term_save_description_custom',
2509 'label' => '',
2510 'name' => 'acfe_form_term_save_description_custom',
2511 'type' => 'wysiwyg',
2512 'instructions' => '',
2513 'required' => 1,
2514 'conditional_logic' => array(
2515 array(
2516 array(
2517 'field' => 'field_acfe_form_term_save_description',
2518 'operator' => '==',
2519 'value' => 'custom',
2520 ),
2521 ),
2522 ),
2523 'wrapper' => array(
2524 'width' => '',
2525 'class' => '',
2526 'id' => '',
2527 ),
2528 'acfe_permissions' => '',
2529 'default_value' => '',
2530 'tabs' => 'all',
2531 'toolbar' => 'full',
2532 'media_upload' => 1,
2533 'delay' => 0,
2534 ),
2535 ),
2536 ),
2537 array(
2538 'key' => 'field_acfe_form_term_map_description_message',
2539 'label' => 'Description',
2540 'name' => 'acfe_form_term_map_description_message',
2541 'type' => 'acfe_dynamic_message',
2542 'instructions' => '',
2543 'required' => 0,
2544 'conditional_logic' => array(
2545 array(
2546 array(
2547 'field' => 'field_acfe_form_term_map_description',
2548 'operator' => '!=empty',
2549 ),
2550 ),
2551 ),
2552 'wrapper' => array(
2553 'width' => '',
2554 'class' => '',
2555 'id' => '',
2556 ),
2557 'acfe_permissions' => '',
2558 ),
2559 array(
2560 'key' => 'field_acfe_form_term_save_meta',
2561 'label' => 'Save Meta fields',
2562 'name' => 'acfe_form_term_save_meta',
2563 'type' => 'checkbox',
2564 'instructions' => 'Choose which ACF fields should be saved to this term',
2565 'required' => 0,
2566 'conditional_logic' => 0,
2567 'wrapper' => array(
2568 'width' => '',
2569 'class' => '',
2570 'id' => '',
2571 ),
2572 'acfe_permissions' => '',
2573 'choices' => array(
2574 ),
2575 'allow_custom' => 0,
2576 'default_value' => array(
2577 ),
2578 'layout' => 'vertical',
2579 'toggle' => 1,
2580 'return_format' => 'value',
2581 'save_custom' => 0,
2582 ),
2583 array(
2584 'key' => 'field_acfe_form_term_tab_load',
2585 'label' => 'Load',
2586 'name' => '',
2587 'type' => 'tab',
2588 'instructions' => '',
2589 'required' => 0,
2590 'conditional_logic' => 0,
2591 'wrapper' => array(
2592 'width' => '',
2593 'class' => '',
2594 'id' => '',
2595 ),
2596 'acfe_permissions' => '',
2597 'placement' => 'top',
2598 'endpoint' => 0,
2599 ),
2600 array(
2601 'key' => 'field_acfe_form_term_load_values',
2602 'label' => 'Load Values',
2603 'name' => 'acfe_form_term_load_values',
2604 'type' => 'true_false',
2605 'instructions' => 'Fill inputs with values',
2606 'required' => 0,
2607 'conditional_logic' => 0,
2608 'wrapper' => array(
2609 'width' => '',
2610 'class' => '',
2611 'id' => '',
2612 ),
2613 'acfe_permissions' => '',
2614 'message' => '',
2615 'default_value' => 1,
2616 'ui' => 1,
2617 'ui_on_text' => '',
2618 'ui_off_text' => '',
2619 ),
2620 array(
2621 'key' => 'field_acfe_form_term_load_source',
2622 'label' => 'Values Source',
2623 'name' => 'acfe_form_term_load_source',
2624 'type' => 'select',
2625 'instructions' => '',
2626 'required' => 0,
2627 'conditional_logic' => array(
2628 array(
2629 array(
2630 'field' => 'field_acfe_form_term_load_values',
2631 'operator' => '==',
2632 'value' => '1',
2633 ),
2634 ),
2635 ),
2636 'wrapper' => array(
2637 'width' => '',
2638 'class' => '',
2639 'id' => '',
2640 ),
2641 'acfe_permissions' => '',
2642 'choices' => array(
2643 ),
2644 'default_value' => array(
2645 0 => 'current_term',
2646 ),
2647 'allow_null' => 0,
2648 'multiple' => 0,
2649 'ui' => 1,
2650 'ajax' => 1,
2651 'return_format' => 'value',
2652 'placeholder' => '',
2653 ),
2654 array(
2655 'key' => 'field_acfe_form_term_load_meta',
2656 'label' => 'Fields Values',
2657 'name' => 'acfe_form_term_load_meta',
2658 'type' => 'checkbox',
2659 'instructions' => 'Choose which ACF fields should have values filled',
2660 'required' => 0,
2661 'conditional_logic' => array(
2662 array(
2663 array(
2664 'field' => 'field_acfe_form_term_load_values',
2665 'operator' => '==',
2666 'value' => '1',
2667 ),
2668 ),
2669 ),
2670 'wrapper' => array(
2671 'width' => '',
2672 'class' => '',
2673 'id' => '',
2674 ),
2675 'acfe_permissions' => '',
2676 'choices' => array(
2677 ),
2678 'allow_custom' => 0,
2679 'default_value' => array(
2680 ),
2681 'layout' => 'vertical',
2682 'toggle' => 1,
2683 'return_format' => 'value',
2684 'save_custom' => 0,
2685 ),
2686 array(
2687 'key' => 'field_acfe_form_term_tab_mapping',
2688 'label' => 'Mapping',
2689 'name' => '',
2690 'type' => 'tab',
2691 'instructions' => '',
2692 'required' => 0,
2693 'conditional_logic' => 0,
2694 'wrapper' => array(
2695 'width' => '',
2696 'class' => '',
2697 'id' => '',
2698 ),
2699 'acfe_permissions' => '',
2700 'placement' => 'top',
2701 'endpoint' => 0,
2702 ),
2703 array(
2704 'key' => 'field_acfe_form_term_map_name',
2705 'label' => 'Name',
2706 'name' => 'acfe_form_term_map_name',
2707 'type' => 'select',
2708 'instructions' => '',
2709 'required' => 0,
2710 'conditional_logic' => 0,
2711 'wrapper' => array(
2712 'width' => '',
2713 'class' => '',
2714 'id' => '',
2715 ),
2716 'acfe_permissions' => '',
2717 'choices' => array(
2718 ),
2719 'default_value' => array(
2720 ),
2721 'allow_null' => 1,
2722 'multiple' => 0,
2723 'ui' => 0,
2724 'return_format' => 'value',
2725 'placeholder' => 'Default',
2726 'ajax' => 0,
2727 ),
2728 array(
2729 'key' => 'field_acfe_form_term_map_slug',
2730 'label' => 'Slug',
2731 'name' => 'acfe_form_term_map_slug',
2732 'type' => 'select',
2733 'instructions' => '',
2734 'required' => 0,
2735 'conditional_logic' => 0,
2736 'wrapper' => array(
2737 'width' => '',
2738 'class' => '',
2739 'id' => '',
2740 ),
2741 'acfe_permissions' => '',
2742 'choices' => array(
2743 ),
2744 'default_value' => array(
2745 ),
2746 'allow_null' => 1,
2747 'multiple' => 0,
2748 'ui' => 0,
2749 'return_format' => 'value',
2750 'placeholder' => 'Default',
2751 'ajax' => 0,
2752 ),
2753 array(
2754 'key' => 'field_acfe_form_term_map_taxonomy',
2755 'label' => 'Taxonomy',
2756 'name' => 'acfe_form_term_map_taxonomy',
2757 'type' => 'select',
2758 'instructions' => '',
2759 'required' => 0,
2760 'conditional_logic' => 0,
2761 'wrapper' => array(
2762 'width' => '',
2763 'class' => '',
2764 'id' => '',
2765 ),
2766 'acfe_permissions' => '',
2767 'choices' => array(
2768 ),
2769 'default_value' => array(
2770 ),
2771 'allow_null' => 1,
2772 'multiple' => 0,
2773 'ui' => 0,
2774 'return_format' => 'value',
2775 'placeholder' => 'Default',
2776 'ajax' => 0,
2777 ),
2778 array(
2779 'key' => 'field_acfe_form_term_map_parent',
2780 'label' => 'Parent',
2781 'name' => 'acfe_form_term_map_parent',
2782 'type' => 'select',
2783 'instructions' => '',
2784 'required' => 0,
2785 'conditional_logic' => 0,
2786 'wrapper' => array(
2787 'width' => '',
2788 'class' => '',
2789 'id' => '',
2790 ),
2791 'acfe_permissions' => '',
2792 'choices' => array(
2793 ),
2794 'default_value' => array(
2795 ),
2796 'allow_null' => 1,
2797 'multiple' => 0,
2798 'ui' => 0,
2799 'return_format' => 'value',
2800 'placeholder' => 'Default',
2801 'ajax' => 0,
2802 ),
2803 array(
2804 'key' => 'field_acfe_form_term_map_description',
2805 'label' => 'Description',
2806 'name' => 'acfe_form_term_map_description',
2807 'type' => 'select',
2808 'instructions' => '',
2809 'required' => 0,
2810 'conditional_logic' => 0,
2811 'wrapper' => array(
2812 'width' => '',
2813 'class' => '',
2814 'id' => '',
2815 ),
2816 'acfe_permissions' => '',
2817 'choices' => array(
2818 ),
2819 'default_value' => array(
2820 ),
2821 'allow_null' => 1,
2822 'multiple' => 0,
2823 'ui' => 0,
2824 'return_format' => 'value',
2825 'placeholder' => 'Default',
2826 'ajax' => 0,
2827 ),
2828 ),
2829 'min' => '',
2830 'max' => '',
2831 ),
2832
2833 /*
2834 * Layout: User
2835 */
2836 'layout_user' => array(
2837 'key' => 'layout_user',
2838 'name' => 'user',
2839 'label' => 'User action',
2840 'display' => 'row',
2841 'sub_fields' => array(
2842 array(
2843 'key' => 'field_acfe_form_user_tab_save',
2844 'label' => 'Save',
2845 'name' => '',
2846 'type' => 'tab',
2847 'instructions' => '',
2848 'required' => 0,
2849 'conditional_logic' => 0,
2850 'wrapper' => array(
2851 'width' => '',
2852 'class' => '',
2853 'id' => '',
2854 ),
2855 'acfe_permissions' => '',
2856 'placement' => 'top',
2857 'endpoint' => 0,
2858 ),
2859 array(
2860 'key' => 'field_acfe_form_user_action',
2861 'label' => 'Action',
2862 'name' => 'acfe_form_user_action',
2863 'type' => 'radio',
2864 'instructions' => '',
2865 'required' => 0,
2866 'conditional_logic' => 0,
2867 'wrapper' => array(
2868 'width' => '',
2869 'class' => '',
2870 'id' => '',
2871 ),
2872 'acfe_permissions' => '',
2873 'choices' => array(
2874 'insert_user' => 'Create user',
2875 'update_user' => 'Update user',
2876 ),
2877 'allow_null' => 0,
2878 'other_choice' => 0,
2879 'default_value' => 'insert_post',
2880 'layout' => 'vertical',
2881 'return_format' => 'value',
2882 'save_other_choice' => 0,
2883 ),
2884 array(
2885 'key' => 'field_acfe_form_user_save_target',
2886 'label' => 'Target',
2887 'name' => 'acfe_form_user_save_target',
2888 'type' => 'select',
2889 'instructions' => '',
2890 'required' => 0,
2891 'conditional_logic' => array(
2892 array(
2893 array(
2894 'field' => 'field_acfe_form_user_action',
2895 'operator' => '==',
2896 'value' => 'update_user',
2897 ),
2898 ),
2899 ),
2900 'wrapper' => array(
2901 'width' => '',
2902 'class' => '',
2903 'id' => '',
2904 ),
2905 'acfe_permissions' => '',
2906 'choices' => array(
2907 ),
2908 'default_value' => array(
2909 0 => 'current_user',
2910 ),
2911 'allow_null' => 0,
2912 'multiple' => 0,
2913 'ui' => 1,
2914 'ajax' => 1,
2915 'return_format' => 'value',
2916 'placeholder' => '',
2917 ),
2918 array(
2919 'key' => 'field_acfe_form_user_save_email_group',
2920 'label' => 'Email',
2921 'name' => 'acfe_form_user_save_email_group',
2922 'type' => 'group',
2923 'instructions' => '',
2924 'required' => 0,
2925 'conditional_logic' => array(
2926 array(
2927 array(
2928 'field' => 'field_acfe_form_user_map_email',
2929 'operator' => '==empty',
2930 ),
2931 ),
2932 ),
2933 'wrapper' => array(
2934 'width' => '',
2935 'class' => '',
2936 'id' => '',
2937 ),
2938 'acfe_permissions' => '',
2939 'layout' => 'block',
2940 'acfe_group_modal' => 0,
2941 'sub_fields' => array(
2942 array(
2943 'key' => 'field_acfe_form_user_save_email',
2944 'label' => '',
2945 'name' => 'acfe_form_user_save_email',
2946 'type' => 'select',
2947 'instructions' => '',
2948 'required' => 0,
2949 'conditional_logic' => 0,
2950 'wrapper' => array(
2951 'width' => '',
2952 'class' => '',
2953 'id' => '',
2954 ),
2955 'acfe_permissions' => '',
2956 'choices' => array(
2957 'custom' => 'Custom email',
2958 ),
2959 'default_value' => array(
2960 ),
2961 'allow_null' => 1,
2962 'multiple' => 0,
2963 'ui' => 0,
2964 'return_format' => 'value',
2965 'placeholder' => 'Default',
2966 'ajax' => 0,
2967 ),
2968 array(
2969 'key' => 'field_acfe_form_user_save_email_custom',
2970 'label' => '',
2971 'name' => 'acfe_form_user_save_email_custom',
2972 'type' => 'text',
2973 'instructions' => '',
2974 'required' => 1,
2975 'conditional_logic' => array(
2976 array(
2977 array(
2978 'field' => 'field_acfe_form_user_save_email',
2979 'operator' => '==',
2980 'value' => 'custom',
2981 ),
2982 ),
2983 ),
2984 'wrapper' => array(
2985 'width' => '',
2986 'class' => '',
2987 'id' => '',
2988 ),
2989 'acfe_permissions' => '',
2990 'default_value' => '',
2991 'placeholder' => 'Available tag: {field:name} *',
2992 'prepend' => '',
2993 'append' => '',
2994 'maxlength' => '',
2995 ),
2996 ),
2997 ),
2998 array(
2999 'key' => 'field_acfe_form_user_map_email_message',
3000 'label' => 'Email',
3001 'name' => 'acfe_form_user_map_email_message',
3002 'type' => 'acfe_dynamic_message',
3003 'instructions' => '',
3004 'required' => 0,
3005 'conditional_logic' => array(
3006 array(
3007 array(
3008 'field' => 'field_acfe_form_user_map_email',
3009 'operator' => '!=empty',
3010 ),
3011 ),
3012 ),
3013 'wrapper' => array(
3014 'width' => '',
3015 'class' => '',
3016 'id' => '',
3017 ),
3018 'acfe_permissions' => '',
3019 ),
3020 array(
3021 'key' => 'field_acfe_form_user_save_username_group',
3022 'label' => 'Username',
3023 'name' => 'acfe_form_user_save_username_group',
3024 'type' => 'group',
3025 'instructions' => '',
3026 'required' => 0,
3027 'conditional_logic' => array(
3028 array(
3029 array(
3030 'field' => 'field_acfe_form_user_map_username',
3031 'operator' => '==empty',
3032 ),
3033 ),
3034 ),
3035 'wrapper' => array(
3036 'width' => '',
3037 'class' => '',
3038 'id' => '',
3039 ),
3040 'acfe_permissions' => '',
3041 'layout' => 'block',
3042 'acfe_group_modal' => 0,
3043 'sub_fields' => array(
3044 array(
3045 'key' => 'field_acfe_form_user_save_username',
3046 'label' => '',
3047 'name' => 'acfe_form_user_save_username',
3048 'type' => 'select',
3049 'instructions' => '',
3050 'required' => 0,
3051 'conditional_logic' => 0,
3052 'wrapper' => array(
3053 'width' => '',
3054 'class' => '',
3055 'id' => '',
3056 ),
3057 'acfe_permissions' => '',
3058 'choices' => array(
3059 'custom' => 'Custom username',
3060 ),
3061 'default_value' => array(
3062 ),
3063 'allow_null' => 1,
3064 'multiple' => 0,
3065 'ui' => 0,
3066 'return_format' => 'value',
3067 'placeholder' => 'Default',
3068 'ajax' => 0,
3069 ),
3070 array(
3071 'key' => 'field_acfe_form_user_save_username_custom',
3072 'label' => '',
3073 'name' => 'acfe_form_user_save_username_custom',
3074 'type' => 'text',
3075 'instructions' => '',
3076 'required' => 1,
3077 'conditional_logic' => array(
3078 array(
3079 array(
3080 'field' => 'field_acfe_form_user_save_username',
3081 'operator' => '==',
3082 'value' => 'custom',
3083 ),
3084 ),
3085 ),
3086 'wrapper' => array(
3087 'width' => '',
3088 'class' => '',
3089 'id' => '',
3090 ),
3091 'acfe_permissions' => '',
3092 'default_value' => '',
3093 'placeholder' => 'Available tag: {field:name} *',
3094 'prepend' => '',
3095 'append' => '',
3096 'maxlength' => '',
3097 ),
3098 ),
3099 ),
3100 array(
3101 'key' => 'field_acfe_form_user_map_username_message',
3102 'label' => 'Username',
3103 'name' => 'acfe_form_user_map_username_message',
3104 'type' => 'acfe_dynamic_message',
3105 'instructions' => '',
3106 'required' => 0,
3107 'conditional_logic' => array(
3108 array(
3109 array(
3110 'field' => 'field_acfe_form_user_map_username',
3111 'operator' => '!=empty',
3112 ),
3113 ),
3114 ),
3115 'wrapper' => array(
3116 'width' => '',
3117 'class' => '',
3118 'id' => '',
3119 ),
3120 'acfe_permissions' => '',
3121 ),
3122 array(
3123 'key' => 'field_acfe_form_user_save_password_group',
3124 'label' => 'Password',
3125 'name' => 'acfe_form_user_save_password_group',
3126 'type' => 'group',
3127 'instructions' => '',
3128 'required' => 0,
3129 'conditional_logic' => array(
3130 array(
3131 array(
3132 'field' => 'field_acfe_form_user_map_password',
3133 'operator' => '==empty',
3134 ),
3135 ),
3136 ),
3137 'wrapper' => array(
3138 'width' => '',
3139 'class' => '',
3140 'id' => '',
3141 ),
3142 'acfe_permissions' => '',
3143 'layout' => 'block',
3144 'acfe_group_modal' => 0,
3145 'sub_fields' => array(
3146 array(
3147 'key' => 'field_acfe_form_user_save_password',
3148 'label' => '',
3149 'name' => 'acfe_form_user_save_password',
3150 'type' => 'select',
3151 'instructions' => '',
3152 'required' => 0,
3153 'conditional_logic' => 0,
3154 'wrapper' => array(
3155 'width' => '',
3156 'class' => '',
3157 'id' => '',
3158 ),
3159 'acfe_permissions' => '',
3160 'choices' => array(
3161 'custom' => 'Custom password',
3162 'generate_password' => 'Generate password',
3163 ),
3164 'default_value' => array(
3165 ),
3166 'allow_null' => 1,
3167 'multiple' => 0,
3168 'ui' => 0,
3169 'return_format' => 'value',
3170 'placeholder' => 'Default',
3171 'ajax' => 0,
3172 ),
3173 array(
3174 'key' => 'field_acfe_form_user_save_password_custom',
3175 'label' => '',
3176 'name' => 'acfe_form_user_save_password_custom',
3177 'type' => 'text',
3178 'instructions' => '',
3179 'required' => 1,
3180 'conditional_logic' => array(
3181 array(
3182 array(
3183 'field' => 'field_acfe_form_user_save_password',
3184 'operator' => '==',
3185 'value' => 'custom',
3186 ),
3187 ),
3188 ),
3189 'wrapper' => array(
3190 'width' => '',
3191 'class' => '',
3192 'id' => '',
3193 ),
3194 'acfe_permissions' => '',
3195 'default_value' => '',
3196 'placeholder' => 'Available tag: {field:name} *',
3197 'prepend' => '',
3198 'append' => '',
3199 'maxlength' => '',
3200 ),
3201 ),
3202 ),
3203 array(
3204 'key' => 'field_acfe_form_user_map_password_message',
3205 'label' => 'Password',
3206 'name' => 'acfe_form_user_map_password_message',
3207 'type' => 'acfe_dynamic_message',
3208 'instructions' => '',
3209 'required' => 0,
3210 'conditional_logic' => array(
3211 array(
3212 array(
3213 'field' => 'field_acfe_form_user_map_password',
3214 'operator' => '!=empty',
3215 ),
3216 ),
3217 ),
3218 'wrapper' => array(
3219 'width' => '',
3220 'class' => '',
3221 'id' => '',
3222 ),
3223 'acfe_permissions' => '',
3224 ),
3225 array(
3226 'key' => 'field_acfe_form_user_save_first_name_group',
3227 'label' => 'First name',
3228 'name' => 'acfe_form_user_save_first_name_group',
3229 'type' => 'group',
3230 'instructions' => '',
3231 'required' => 0,
3232 'conditional_logic' => array(
3233 array(
3234 array(
3235 'field' => 'field_acfe_form_user_map_first_name',
3236 'operator' => '==empty',
3237 ),
3238 ),
3239 ),
3240 'wrapper' => array(
3241 'width' => '',
3242 'class' => '',
3243 'id' => '',
3244 ),
3245 'acfe_permissions' => '',
3246 'layout' => 'block',
3247 'acfe_group_modal' => 0,
3248 'sub_fields' => array(
3249 array(
3250 'key' => 'field_acfe_form_user_save_first_name',
3251 'label' => '',
3252 'name' => 'acfe_form_user_save_first_name',
3253 'type' => 'select',
3254 'instructions' => '',
3255 'required' => 0,
3256 'conditional_logic' => 0,
3257 'wrapper' => array(
3258 'width' => '',
3259 'class' => '',
3260 'id' => '',
3261 ),
3262 'acfe_permissions' => '',
3263 'choices' => array(
3264 'custom' => 'Custom first name',
3265 ),
3266 'default_value' => array(
3267 ),
3268 'allow_null' => 1,
3269 'multiple' => 0,
3270 'ui' => 0,
3271 'return_format' => 'value',
3272 'placeholder' => 'Default',
3273 'ajax' => 0,
3274 ),
3275 array(
3276 'key' => 'field_acfe_form_user_save_first_name_custom',
3277 'label' => '',
3278 'name' => 'acfe_form_user_save_first_name_custom',
3279 'type' => 'text',
3280 'instructions' => '',
3281 'required' => 1,
3282 'conditional_logic' => array(
3283 array(
3284 array(
3285 'field' => 'field_acfe_form_user_save_first_name',
3286 'operator' => '==',
3287 'value' => 'custom',
3288 ),
3289 ),
3290 ),
3291 'wrapper' => array(
3292 'width' => '',
3293 'class' => '',
3294 'id' => '',
3295 ),
3296 'acfe_permissions' => '',
3297 'default_value' => '',
3298 'placeholder' => 'Available tag: {field:name} *',
3299 'prepend' => '',
3300 'append' => '',
3301 'maxlength' => '',
3302 ),
3303 ),
3304 ),
3305 array(
3306 'key' => 'field_acfe_form_user_map_first_name_message',
3307 'label' => 'First name',
3308 'name' => 'acfe_form_user_map_first_name_message',
3309 'type' => 'acfe_dynamic_message',
3310 'instructions' => '',
3311 'required' => 0,
3312 'conditional_logic' => array(
3313 array(
3314 array(
3315 'field' => 'field_acfe_form_user_map_first_name',
3316 'operator' => '!=empty',
3317 ),
3318 ),
3319 ),
3320 'wrapper' => array(
3321 'width' => '',
3322 'class' => '',
3323 'id' => '',
3324 ),
3325 'acfe_permissions' => '',
3326 ),
3327 array(
3328 'key' => 'field_acfe_form_user_save_last_name_group',
3329 'label' => 'Last name',
3330 'name' => 'acfe_form_user_save_last_name_group',
3331 'type' => 'group',
3332 'instructions' => '',
3333 'required' => 0,
3334 'conditional_logic' => array(
3335 array(
3336 array(
3337 'field' => 'field_acfe_form_user_map_last_name',
3338 'operator' => '==empty',
3339 ),
3340 ),
3341 ),
3342 'wrapper' => array(
3343 'width' => '',
3344 'class' => '',
3345 'id' => '',
3346 ),
3347 'acfe_permissions' => '',
3348 'layout' => 'block',
3349 'acfe_group_modal' => 0,
3350 'sub_fields' => array(
3351 array(
3352 'key' => 'field_acfe_form_user_save_last_name',
3353 'label' => '',
3354 'name' => 'acfe_form_user_save_last_name',
3355 'type' => 'select',
3356 'instructions' => '',
3357 'required' => 0,
3358 'conditional_logic' => 0,
3359 'wrapper' => array(
3360 'width' => '',
3361 'class' => '',
3362 'id' => '',
3363 ),
3364 'acfe_permissions' => '',
3365 'choices' => array(
3366 'custom' => 'Custom last name',
3367 ),
3368 'default_value' => array(
3369 ),
3370 'allow_null' => 1,
3371 'multiple' => 0,
3372 'ui' => 0,
3373 'return_format' => 'value',
3374 'placeholder' => 'Default',
3375 'ajax' => 0,
3376 ),
3377 array(
3378 'key' => 'field_acfe_form_user_save_last_name_custom',
3379 'label' => '',
3380 'name' => 'acfe_form_user_save_last_name_custom',
3381 'type' => 'text',
3382 'instructions' => '',
3383 'required' => 1,
3384 'conditional_logic' => array(
3385 array(
3386 array(
3387 'field' => 'field_acfe_form_user_save_last_name',
3388 'operator' => '==',
3389 'value' => 'custom',
3390 ),
3391 ),
3392 ),
3393 'wrapper' => array(
3394 'width' => '',
3395 'class' => '',
3396 'id' => '',
3397 ),
3398 'acfe_permissions' => '',
3399 'default_value' => '',
3400 'placeholder' => 'Available tag: {field:name} *',
3401 'prepend' => '',
3402 'append' => '',
3403 'maxlength' => '',
3404 ),
3405 ),
3406 ),
3407 array(
3408 'key' => 'field_acfe_form_user_map_last_name_message',
3409 'label' => 'Last name',
3410 'name' => 'acfe_form_user_map_last_name_message',
3411 'type' => 'acfe_dynamic_message',
3412 'instructions' => '',
3413 'required' => 0,
3414 'conditional_logic' => array(
3415 array(
3416 array(
3417 'field' => 'field_acfe_form_user_map_last_name',
3418 'operator' => '!=empty',
3419 ),
3420 ),
3421 ),
3422 'wrapper' => array(
3423 'width' => '',
3424 'class' => '',
3425 'id' => '',
3426 ),
3427 'acfe_permissions' => '',
3428 ),
3429 array(
3430 'key' => 'field_acfe_form_user_save_nickname_group',
3431 'label' => 'Nickname',
3432 'name' => 'acfe_form_user_save_nickname_group',
3433 'type' => 'group',
3434 'instructions' => '',
3435 'required' => 0,
3436 'conditional_logic' => array(
3437 array(
3438 array(
3439 'field' => 'field_acfe_form_user_map_nickname',
3440 'operator' => '==empty',
3441 ),
3442 ),
3443 ),
3444 'wrapper' => array(
3445 'width' => '',
3446 'class' => '',
3447 'id' => '',
3448 ),
3449 'acfe_permissions' => '',
3450 'layout' => 'block',
3451 'acfe_group_modal' => 0,
3452 'sub_fields' => array(
3453 array(
3454 'key' => 'field_acfe_form_user_save_nickname',
3455 'label' => '',
3456 'name' => 'acfe_form_user_save_nickname',
3457 'type' => 'select',
3458 'instructions' => '',
3459 'required' => 0,
3460 'conditional_logic' => 0,
3461 'wrapper' => array(
3462 'width' => '',
3463 'class' => '',
3464 'id' => '',
3465 ),
3466 'acfe_permissions' => '',
3467 'choices' => array(
3468 'custom' => 'Custom nickname',
3469 ),
3470 'default_value' => array(
3471 ),
3472 'allow_null' => 1,
3473 'multiple' => 0,
3474 'ui' => 0,
3475 'return_format' => 'value',
3476 'placeholder' => 'Default',
3477 'ajax' => 0,
3478 ),
3479 array(
3480 'key' => 'field_acfe_form_user_save_nickname_custom',
3481 'label' => '',
3482 'name' => 'acfe_form_user_save_nickname_custom',
3483 'type' => 'text',
3484 'instructions' => '',
3485 'required' => 1,
3486 'conditional_logic' => array(
3487 array(
3488 array(
3489 'field' => 'field_acfe_form_user_save_nickname',
3490 'operator' => '==',
3491 'value' => 'custom',
3492 ),
3493 ),
3494 ),
3495 'wrapper' => array(
3496 'width' => '',
3497 'class' => '',
3498 'id' => '',
3499 ),
3500 'acfe_permissions' => '',
3501 'default_value' => '',
3502 'placeholder' => 'Available tag: {field:name} *',
3503 'prepend' => '',
3504 'append' => '',
3505 'maxlength' => '',
3506 ),
3507 ),
3508 ),
3509 array(
3510 'key' => 'field_acfe_form_user_map_nickname_message',
3511 'label' => 'Nickname',
3512 'name' => 'acfe_form_user_map_nickname_message',
3513 'type' => 'acfe_dynamic_message',
3514 'instructions' => '',
3515 'required' => 0,
3516 'conditional_logic' => array(
3517 array(
3518 array(
3519 'field' => 'field_acfe_form_user_map_nickname',
3520 'operator' => '!=empty',
3521 ),
3522 ),
3523 ),
3524 'wrapper' => array(
3525 'width' => '',
3526 'class' => '',
3527 'id' => '',
3528 ),
3529 'acfe_permissions' => '',
3530 ),
3531 array(
3532 'key' => 'field_acfe_form_user_save_display_name_group',
3533 'label' => 'Display name',
3534 'name' => 'acfe_form_user_save_display_name_group',
3535 'type' => 'group',
3536 'instructions' => '',
3537 'required' => 0,
3538 'conditional_logic' => array(
3539 array(
3540 array(
3541 'field' => 'field_acfe_form_user_map_display_name',
3542 'operator' => '==empty',
3543 ),
3544 ),
3545 ),
3546 'wrapper' => array(
3547 'width' => '',
3548 'class' => '',
3549 'id' => '',
3550 ),
3551 'acfe_permissions' => '',
3552 'layout' => 'block',
3553 'acfe_group_modal' => 0,
3554 'sub_fields' => array(
3555 array(
3556 'key' => 'field_acfe_form_user_save_display_name',
3557 'label' => '',
3558 'name' => 'acfe_form_user_save_display_name',
3559 'type' => 'select',
3560 'instructions' => '',
3561 'required' => 0,
3562 'conditional_logic' => 0,
3563 'wrapper' => array(
3564 'width' => '',
3565 'class' => '',
3566 'id' => '',
3567 ),
3568 'acfe_permissions' => '',
3569 'choices' => array(
3570 'custom' => 'Custom display name',
3571 ),
3572 'default_value' => array(
3573 ),
3574 'allow_null' => 1,
3575 'multiple' => 0,
3576 'ui' => 0,
3577 'return_format' => 'value',
3578 'placeholder' => 'Default',
3579 'ajax' => 0,
3580 ),
3581 array(
3582 'key' => 'field_acfe_form_user_save_display_name_custom',
3583 'label' => '',
3584 'name' => 'acfe_form_user_save_display_name_custom',
3585 'type' => 'text',
3586 'instructions' => '',
3587 'required' => 1,
3588 'conditional_logic' => array(
3589 array(
3590 array(
3591 'field' => 'field_acfe_form_user_save_display_name',
3592 'operator' => '==',
3593 'value' => 'custom',
3594 ),
3595 ),
3596 ),
3597 'wrapper' => array(
3598 'width' => '',
3599 'class' => '',
3600 'id' => '',
3601 ),
3602 'acfe_permissions' => '',
3603 'default_value' => '',
3604 'placeholder' => 'Available tag: {field:name} *',
3605 'prepend' => '',
3606 'append' => '',
3607 'maxlength' => '',
3608 ),
3609 ),
3610 ),
3611 array(
3612 'key' => 'field_acfe_form_user_map_display_name_message',
3613 'label' => 'Display name',
3614 'name' => 'acfe_form_user_map_display_name_message',
3615 'type' => 'acfe_dynamic_message',
3616 'instructions' => '',
3617 'required' => 0,
3618 'conditional_logic' => array(
3619 array(
3620 array(
3621 'field' => 'field_acfe_form_user_map_display_name',
3622 'operator' => '!=empty',
3623 ),
3624 ),
3625 ),
3626 'wrapper' => array(
3627 'width' => '',
3628 'class' => '',
3629 'id' => '',
3630 ),
3631 'acfe_permissions' => '',
3632 ),
3633 array(
3634 'key' => 'field_acfe_form_user_save_website_group',
3635 'label' => 'Website',
3636 'name' => 'acfe_form_user_save_website_group',
3637 'type' => 'group',
3638 'instructions' => '',
3639 'required' => 0,
3640 'conditional_logic' => array(
3641 array(
3642 array(
3643 'field' => 'field_acfe_form_user_map_website',
3644 'operator' => '==empty',
3645 ),
3646 ),
3647 ),
3648 'wrapper' => array(
3649 'width' => '',
3650 'class' => '',
3651 'id' => '',
3652 ),
3653 'acfe_permissions' => '',
3654 'layout' => 'block',
3655 'acfe_group_modal' => 0,
3656 'sub_fields' => array(
3657 array(
3658 'key' => 'field_acfe_form_user_save_website',
3659 'label' => '',
3660 'name' => 'acfe_form_user_save_website',
3661 'type' => 'select',
3662 'instructions' => '',
3663 'required' => 0,
3664 'conditional_logic' => 0,
3665 'wrapper' => array(
3666 'width' => '',
3667 'class' => '',
3668 'id' => '',
3669 ),
3670 'acfe_permissions' => '',
3671 'choices' => array(
3672 'custom' => 'Custom website',
3673 ),
3674 'default_value' => array(
3675 ),
3676 'allow_null' => 1,
3677 'multiple' => 0,
3678 'ui' => 0,
3679 'return_format' => 'value',
3680 'placeholder' => 'Default',
3681 'ajax' => 0,
3682 ),
3683 array(
3684 'key' => 'field_acfe_form_user_save_website_custom',
3685 'label' => '',
3686 'name' => 'acfe_form_user_save_website_custom',
3687 'type' => 'text',
3688 'instructions' => '',
3689 'required' => 1,
3690 'conditional_logic' => array(
3691 array(
3692 array(
3693 'field' => 'field_acfe_form_user_save_website',
3694 'operator' => '==',
3695 'value' => 'custom',
3696 ),
3697 ),
3698 ),
3699 'wrapper' => array(
3700 'width' => '',
3701 'class' => '',
3702 'id' => '',
3703 ),
3704 'acfe_permissions' => '',
3705 'default_value' => '',
3706 'placeholder' => 'Available tag: {field:name} *',
3707 'prepend' => '',
3708 'append' => '',
3709 'maxlength' => '',
3710 ),
3711 ),
3712 ),
3713 array(
3714 'key' => 'field_acfe_form_user_map_website_message',
3715 'label' => 'Website',
3716 'name' => 'acfe_form_user_map_website_message',
3717 'type' => 'acfe_dynamic_message',
3718 'instructions' => '',
3719 'required' => 0,
3720 'conditional_logic' => array(
3721 array(
3722 array(
3723 'field' => 'field_acfe_form_user_map_website',
3724 'operator' => '!=empty',
3725 ),
3726 ),
3727 ),
3728 'wrapper' => array(
3729 'width' => '',
3730 'class' => '',
3731 'id' => '',
3732 ),
3733 'acfe_permissions' => '',
3734 ),
3735 array(
3736 'key' => 'field_acfe_form_user_save_description_group',
3737 'label' => 'Description',
3738 'name' => 'acfe_form_user_save_description_group',
3739 'type' => 'group',
3740 'instructions' => '',
3741 'required' => 0,
3742 'conditional_logic' => array(
3743 array(
3744 array(
3745 'field' => 'field_acfe_form_user_map_description',
3746 'operator' => '==empty',
3747 ),
3748 ),
3749 ),
3750 'wrapper' => array(
3751 'width' => '',
3752 'class' => '',
3753 'id' => '',
3754 ),
3755 'acfe_permissions' => '',
3756 'layout' => 'block',
3757 'acfe_group_modal' => 0,
3758 'sub_fields' => array(
3759 array(
3760 'key' => 'field_acfe_form_user_save_description',
3761 'label' => '',
3762 'name' => 'acfe_form_user_save_description',
3763 'type' => 'select',
3764 'instructions' => '',
3765 'required' => 0,
3766 'conditional_logic' => 0,
3767 'wrapper' => array(
3768 'width' => '',
3769 'class' => '',
3770 'id' => '',
3771 ),
3772 'acfe_permissions' => '',
3773 'choices' => array(
3774 'custom' => 'Custom description',
3775 ),
3776 'default_value' => array(
3777 ),
3778 'allow_null' => 1,
3779 'multiple' => 0,
3780 'ui' => 0,
3781 'return_format' => 'value',
3782 'placeholder' => 'Default',
3783 'ajax' => 0,
3784 ),
3785 array(
3786 'key' => 'field_acfe_form_user_save_description_custom',
3787 'label' => '',
3788 'name' => 'acfe_form_user_save_description_custom',
3789 'type' => 'wysiwyg',
3790 'instructions' => '',
3791 'required' => 1,
3792 'conditional_logic' => array(
3793 array(
3794 array(
3795 'field' => 'field_acfe_form_user_save_description',
3796 'operator' => '==',
3797 'value' => 'custom',
3798 ),
3799 ),
3800 ),
3801 'wrapper' => array(
3802 'width' => '',
3803 'class' => '',
3804 'id' => '',
3805 ),
3806 'acfe_permissions' => '',
3807 'default_value' => '',
3808 'tabs' => 'all',
3809 'toolbar' => 'full',
3810 'media_upload' => 1,
3811 'delay' => 0,
3812 ),
3813 ),
3814 ),
3815 array(
3816 'key' => 'field_acfe_form_user_map_description_message',
3817 'label' => 'Description',
3818 'name' => 'acfe_form_user_map_description_message',
3819 'type' => 'acfe_dynamic_message',
3820 'instructions' => '',
3821 'required' => 0,
3822 'conditional_logic' => array(
3823 array(
3824 array(
3825 'field' => 'field_acfe_form_user_map_description',
3826 'operator' => '!=empty',
3827 ),
3828 ),
3829 ),
3830 'wrapper' => array(
3831 'width' => '',
3832 'class' => '',
3833 'id' => '',
3834 ),
3835 'acfe_permissions' => '',
3836 ),
3837 array(
3838 'key' => 'field_acfe_form_user_save_role',
3839 'label' => 'Role',
3840 'name' => 'acfe_form_user_save_role',
3841 'type' => 'acfe_user_roles',
3842 'instructions' => '',
3843 'required' => 0,
3844 'conditional_logic' => array(
3845 array(
3846 array(
3847 'field' => 'field_acfe_form_user_map_role',
3848 'operator' => '==empty',
3849 ),
3850 ),
3851 ),
3852 'wrapper' => array(
3853 'width' => '',
3854 'class' => '',
3855 'id' => '',
3856 ),
3857 'acfe_permissions' => '',
3858 'user_role' => '',
3859 'field_type' => 'select',
3860 'default_value' => '',
3861 'allow_null' => 1,
3862 'placeholder' => 'Default',
3863 'multiple' => 0,
3864 'ui' => 0,
3865 'choices' => array(
3866 ),
3867 'ajax' => 0,
3868 'layout' => '',
3869 'toggle' => 0,
3870 'allow_custom' => 0,
3871 ),
3872 array(
3873 'key' => 'field_acfe_form_user_map_role_message',
3874 'label' => 'Role',
3875 'name' => 'acfe_form_user_map_role_message',
3876 'type' => 'acfe_dynamic_message',
3877 'instructions' => '',
3878 'required' => 0,
3879 'conditional_logic' => array(
3880 array(
3881 array(
3882 'field' => 'field_acfe_form_user_map_role',
3883 'operator' => '!=empty',
3884 ),
3885 ),
3886 ),
3887 'wrapper' => array(
3888 'width' => '',
3889 'class' => '',
3890 'id' => '',
3891 ),
3892 'acfe_permissions' => '',
3893 ),
3894 array(
3895 'key' => 'field_acfe_form_user_save_meta',
3896 'label' => 'Save Meta fields',
3897 'name' => 'acfe_form_user_save_meta',
3898 'type' => 'checkbox',
3899 'instructions' => 'Choose which ACF fields should be saved to this user',
3900 'required' => 0,
3901 'conditional_logic' => 0,
3902 'wrapper' => array(
3903 'width' => '',
3904 'class' => '',
3905 'id' => '',
3906 ),
3907 'acfe_permissions' => '',
3908 'choices' => array(
3909 ),
3910 'allow_custom' => 0,
3911 'default_value' => array(
3912 ),
3913 'layout' => 'vertical',
3914 'toggle' => 1,
3915 'return_format' => 'value',
3916 'save_custom' => 0,
3917 ),
3918 array(
3919 'key' => 'acfe_form_user_tab_load',
3920 'label' => 'Load',
3921 'name' => '',
3922 'type' => 'tab',
3923 'instructions' => '',
3924 'required' => 0,
3925 'conditional_logic' => 0,
3926 'wrapper' => array(
3927 'width' => '',
3928 'class' => '',
3929 'id' => '',
3930 ),
3931 'acfe_permissions' => '',
3932 'placement' => 'top',
3933 'endpoint' => 0,
3934 ),
3935 array(
3936 'key' => 'field_acfe_form_user_load_values',
3937 'label' => 'Load Values',
3938 'name' => 'acfe_form_user_load_values',
3939 'type' => 'true_false',
3940 'instructions' => 'Fill inputs with values',
3941 'required' => 0,
3942 'conditional_logic' => 0,
3943 'wrapper' => array(
3944 'width' => '',
3945 'class' => '',
3946 'id' => '',
3947 ),
3948 'acfe_permissions' => '',
3949 'message' => '',
3950 'default_value' => 1,
3951 'ui' => 1,
3952 'ui_on_text' => '',
3953 'ui_off_text' => '',
3954 ),
3955 array(
3956 'key' => 'field_acfe_form_user_load_source',
3957 'label' => 'Values Source',
3958 'name' => 'acfe_form_user_load_source',
3959 'type' => 'select',
3960 'instructions' => '',
3961 'required' => 0,
3962 'conditional_logic' => array(
3963 array(
3964 array(
3965 'field' => 'field_acfe_form_user_load_values',
3966 'operator' => '==',
3967 'value' => '1',
3968 ),
3969 ),
3970 ),
3971 'wrapper' => array(
3972 'width' => '',
3973 'class' => '',
3974 'id' => '',
3975 ),
3976 'acfe_permissions' => '',
3977 'choices' => array(
3978 ),
3979 'default_value' => array(
3980 0 => 'current_user',
3981 ),
3982 'allow_null' => 0,
3983 'multiple' => 0,
3984 'ui' => 1,
3985 'ajax' => 1,
3986 'return_format' => 'value',
3987 'placeholder' => '',
3988 ),
3989 array(
3990 'key' => 'field_acfe_form_user_load_meta',
3991 'label' => 'Fields Values',
3992 'name' => 'acfe_form_user_load_meta',
3993 'type' => 'checkbox',
3994 'instructions' => 'Choose which ACF fields should have values filled',
3995 'required' => 0,
3996 'conditional_logic' => array(
3997 array(
3998 array(
3999 'field' => 'field_acfe_form_user_load_values',
4000 'operator' => '==',
4001 'value' => '1',
4002 ),
4003 ),
4004 ),
4005 'wrapper' => array(
4006 'width' => '',
4007 'class' => '',
4008 'id' => '',
4009 ),
4010 'acfe_permissions' => '',
4011 'choices' => array(
4012 ),
4013 'allow_custom' => 0,
4014 'default_value' => array(
4015 ),
4016 'layout' => 'vertical',
4017 'toggle' => 1,
4018 'return_format' => 'value',
4019 'save_custom' => 0,
4020 ),
4021 array(
4022 'key' => 'acfe_form_user_tab_mapping',
4023 'label' => 'Mapping',
4024 'name' => '',
4025 'type' => 'tab',
4026 'instructions' => '',
4027 'required' => 0,
4028 'conditional_logic' => 0,
4029 'wrapper' => array(
4030 'width' => '',
4031 'class' => '',
4032 'id' => '',
4033 ),
4034 'acfe_permissions' => '',
4035 'placement' => 'top',
4036 'endpoint' => 0,
4037 ),
4038 array(
4039 'key' => 'field_acfe_form_user_map_email',
4040 'label' => 'Email',
4041 'name' => 'acfe_form_user_map_email',
4042 'type' => 'select',
4043 'instructions' => '',
4044 'required' => 0,
4045 'conditional_logic' => 0,
4046 'wrapper' => array(
4047 'width' => '',
4048 'class' => '',
4049 'id' => '',
4050 ),
4051 'acfe_permissions' => '',
4052 'choices' => array(
4053 ),
4054 'default_value' => array(
4055 ),
4056 'allow_null' => 1,
4057 'multiple' => 0,
4058 'ui' => 0,
4059 'return_format' => 'value',
4060 'placeholder' => 'Default',
4061 'ajax' => 0,
4062 ),
4063 array(
4064 'key' => 'field_acfe_form_user_map_username',
4065 'label' => 'Username',
4066 'name' => 'acfe_form_user_map_username',
4067 'type' => 'select',
4068 'instructions' => '',
4069 'required' => 0,
4070 'conditional_logic' => 0,
4071 'wrapper' => array(
4072 'width' => '',
4073 'class' => '',
4074 'id' => '',
4075 ),
4076 'acfe_permissions' => '',
4077 'choices' => array(
4078 ),
4079 'default_value' => array(
4080 ),
4081 'allow_null' => 1,
4082 'multiple' => 0,
4083 'ui' => 0,
4084 'return_format' => 'value',
4085 'placeholder' => 'Default',
4086 'ajax' => 0,
4087 ),
4088 array(
4089 'key' => 'field_acfe_form_user_map_password',
4090 'label' => 'Password',
4091 'name' => 'acfe_form_user_map_password',
4092 'type' => 'select',
4093 'instructions' => '',
4094 'required' => 0,
4095 'conditional_logic' => 0,
4096 'wrapper' => array(
4097 'width' => '',
4098 'class' => '',
4099 'id' => '',
4100 ),
4101 'acfe_permissions' => '',
4102 'choices' => array(
4103 ),
4104 'default_value' => array(
4105 ),
4106 'allow_null' => 1,
4107 'multiple' => 0,
4108 'ui' => 0,
4109 'return_format' => 'value',
4110 'placeholder' => 'Default',
4111 'ajax' => 0,
4112 ),
4113 array(
4114 'key' => 'field_acfe_form_user_map_first_name',
4115 'label' => 'First name',
4116 'name' => 'acfe_form_user_map_first_name',
4117 'type' => 'select',
4118 'instructions' => '',
4119 'required' => 0,
4120 'conditional_logic' => 0,
4121 'wrapper' => array(
4122 'width' => '',
4123 'class' => '',
4124 'id' => '',
4125 ),
4126 'acfe_permissions' => '',
4127 'choices' => array(
4128 ),
4129 'default_value' => array(
4130 ),
4131 'allow_null' => 1,
4132 'multiple' => 0,
4133 'ui' => 0,
4134 'return_format' => 'value',
4135 'placeholder' => 'Default',
4136 'ajax' => 0,
4137 ),
4138 array(
4139 'key' => 'field_acfe_form_user_map_last_name',
4140 'label' => 'Last name',
4141 'name' => 'acfe_form_user_map_last_name',
4142 'type' => 'select',
4143 'instructions' => '',
4144 'required' => 0,
4145 'conditional_logic' => 0,
4146 'wrapper' => array(
4147 'width' => '',
4148 'class' => '',
4149 'id' => '',
4150 ),
4151 'acfe_permissions' => '',
4152 'choices' => array(
4153 ),
4154 'default_value' => array(
4155 ),
4156 'allow_null' => 1,
4157 'multiple' => 0,
4158 'ui' => 0,
4159 'return_format' => 'value',
4160 'placeholder' => 'Default',
4161 'ajax' => 0,
4162 ),
4163 array(
4164 'key' => 'field_acfe_form_user_map_nickname',
4165 'label' => 'Nickname',
4166 'name' => 'acfe_form_user_map_nickname',
4167 'type' => 'select',
4168 'instructions' => '',
4169 'required' => 0,
4170 'conditional_logic' => 0,
4171 'wrapper' => array(
4172 'width' => '',
4173 'class' => '',
4174 'id' => '',
4175 ),
4176 'acfe_permissions' => '',
4177 'choices' => array(
4178 ),
4179 'default_value' => array(
4180 ),
4181 'allow_null' => 1,
4182 'multiple' => 0,
4183 'ui' => 0,
4184 'return_format' => 'value',
4185 'placeholder' => 'Default',
4186 'ajax' => 0,
4187 ),
4188 array(
4189 'key' => 'field_acfe_form_user_map_display_name',
4190 'label' => 'Display name',
4191 'name' => 'acfe_form_user_map_display_name',
4192 'type' => 'select',
4193 'instructions' => '',
4194 'required' => 0,
4195 'conditional_logic' => 0,
4196 'wrapper' => array(
4197 'width' => '',
4198 'class' => '',
4199 'id' => '',
4200 ),
4201 'acfe_permissions' => '',
4202 'choices' => array(
4203 ),
4204 'default_value' => array(
4205 ),
4206 'allow_null' => 1,
4207 'multiple' => 0,
4208 'ui' => 0,
4209 'return_format' => 'value',
4210 'placeholder' => 'Default',
4211 'ajax' => 0,
4212 ),
4213 array(
4214 'key' => 'field_acfe_form_user_map_website',
4215 'label' => 'Website',
4216 'name' => 'acfe_form_user_map_website',
4217 'type' => 'select',
4218 'instructions' => '',
4219 'required' => 0,
4220 'conditional_logic' => 0,
4221 'wrapper' => array(
4222 'width' => '',
4223 'class' => '',
4224 'id' => '',
4225 ),
4226 'acfe_permissions' => '',
4227 'choices' => array(
4228 ),
4229 'default_value' => array(
4230 ),
4231 'allow_null' => 1,
4232 'multiple' => 0,
4233 'ui' => 0,
4234 'return_format' => 'value',
4235 'placeholder' => 'Default',
4236 'ajax' => 0,
4237 ),
4238 array(
4239 'key' => 'field_acfe_form_user_map_description',
4240 'label' => 'Description',
4241 'name' => 'acfe_form_user_map_description',
4242 'type' => 'select',
4243 'instructions' => '',
4244 'required' => 0,
4245 'conditional_logic' => 0,
4246 'wrapper' => array(
4247 'width' => '',
4248 'class' => '',
4249 'id' => '',
4250 ),
4251 'acfe_permissions' => '',
4252 'choices' => array(
4253 ),
4254 'default_value' => array(
4255 ),
4256 'allow_null' => 1,
4257 'multiple' => 0,
4258 'ui' => 0,
4259 'return_format' => 'value',
4260 'placeholder' => 'Default',
4261 'ajax' => 0,
4262 ),
4263 array(
4264 'key' => 'field_acfe_form_user_map_role',
4265 'label' => 'Role',
4266 'name' => 'acfe_form_user_map_role',
4267 'type' => 'select',
4268 'instructions' => '',
4269 'required' => 0,
4270 'conditional_logic' => 0,
4271 'wrapper' => array(
4272 'width' => '',
4273 'class' => '',
4274 'id' => '',
4275 ),
4276 'acfe_permissions' => '',
4277 'choices' => array(
4278 ),
4279 'default_value' => array(
4280 ),
4281 'allow_null' => 1,
4282 'multiple' => 0,
4283 'ui' => 0,
4284 'return_format' => 'value',
4285 'placeholder' => 'Default',
4286 'ajax' => 0,
4287 ),
4288 ),
4289 'min' => '',
4290 'max' => '',
4291 ),
4292
4293 ),
4294 'button_label' => 'Add action',
4295 'min' => '',
4296 'max' => '',
4297 ),
4298 array(
4299 'key' => 'field_acfe_form_tab_advanced',
4300 'label' => 'Advanced',
4301 'name' => '',
4302 'type' => 'tab',
4303 'instructions' => '',
4304 'required' => 0,
4305 'conditional_logic' => 0,
4306 'wrapper' => array(
4307 'width' => '',
4308 'class' => '',
4309 'id' => '',
4310 ),
4311 'acfe_permissions' => '',
4312 'placement' => 'top',
4313 'endpoint' => 0,
4314 ),
4315 array(
4316 'key' => 'field_acfe_form_honeypot',
4317 'label' => 'Honeypot',
4318 'name' => 'acfe_form_honeypot',
4319 'type' => 'true_false',
4320 'instructions' => 'Whether to include a hidden input field to capture non human form submission. Defaults to true.',
4321 'required' => 0,
4322 'conditional_logic' => 0,
4323 'wrapper' => array(
4324 'width' => '',
4325 'class' => '',
4326 'id' => '',
4327 ),
4328 'hide_admin' => 0,
4329 'acfe_permissions' => '',
4330 'message' => '',
4331 'default_value' => 1,
4332 'ui' => 1,
4333 'ui_on_text' => '',
4334 'ui_off_text' => '',
4335 ),
4336 array(
4337 'key' => 'field_acfe_form_kses',
4338 'label' => 'Kses',
4339 'name' => 'acfe_form_kses',
4340 'type' => 'true_false',
4341 'instructions' => 'Whether or not to sanitize all $_POST data with the wp_kses_post() function. Defaults to true.',
4342 'required' => 0,
4343 'conditional_logic' => 0,
4344 'wrapper' => array(
4345 'width' => '',
4346 'class' => '',
4347 'id' => '',
4348 ),
4349 'hide_admin' => 0,
4350 'acfe_permissions' => '',
4351 'message' => '',
4352 'default_value' => 1,
4353 'ui' => 1,
4354 'ui_on_text' => '',
4355 'ui_off_text' => '',
4356 ),
4357 array(
4358 'key' => 'field_acfe_form_uploader',
4359 'label' => 'Uploader',
4360 'name' => 'acfe_form_uploader',
4361 'type' => 'radio',
4362 'instructions' => 'Whether to use the WP uploader or a basic input for image and file fields. Defaults to \'wp\'
4363 Choices of \'wp\' or \'basic\'.',
4364 'required' => 0,
4365 'conditional_logic' => 0,
4366 'wrapper' => array(
4367 'width' => '',
4368 'class' => '',
4369 'id' => '',
4370 ),
4371 'hide_admin' => 0,
4372 'acfe_permissions' => '',
4373 'choices' => array(
4374 'wp' => 'Media modal',
4375 'basic' => 'Basic',
4376 ),
4377 'allow_null' => 0,
4378 'other_choice' => 0,
4379 'default_value' => 'wp',
4380 'layout' => 'vertical',
4381 'return_format' => 'value',
4382 'save_other_choice' => 0,
4383 ),
4384 array(
4385 'key' => 'field_acfe_form_form_field_el',
4386 'label' => 'Field element',
4387 'name' => 'acfe_form_form_field_el',
4388 'type' => 'radio',
4389 'instructions' => 'Determines element used to wrap a field. Defaults to \'div\'',
4390 'required' => 0,
4391 'conditional_logic' => 0,
4392 'wrapper' => array(
4393 'width' => '',
4394 'class' => '',
4395 'id' => '',
4396 ),
4397 'hide_admin' => 0,
4398 'acfe_permissions' => '',
4399 'choices' => array(
4400 'div' => '&lt;div&gt;',
4401 'tr' => '&lt;tr&gt;',
4402 'td' => '&lt;td&gt;',
4403 'ul' => '&lt;ul&gt;',
4404 'ol' => '&lt;ol&gt;',
4405 'dl' => '&lt;dl&gt;',
4406 ),
4407 'allow_null' => 0,
4408 'other_choice' => 0,
4409 'default_value' => 'div',
4410 'layout' => 'vertical',
4411 'return_format' => 'value',
4412 'save_other_choice' => 0,
4413 ),
4414 array(
4415 'key' => 'field_acfe_form_label_placement',
4416 'label' => 'Label placement',
4417 'name' => 'acfe_form_label_placement',
4418 'type' => 'radio',
4419 'instructions' => 'Determines where field labels are places in relation to fields. Defaults to \'top\'. <br />
4420 Choices of \'top\' (Above fields) or \'left\' (Beside fields)',
4421 'required' => 0,
4422 'conditional_logic' => 0,
4423 'wrapper' => array(
4424 'width' => '',
4425 'class' => '',
4426 'id' => '',
4427 ),
4428 'hide_admin' => 0,
4429 'acfe_permissions' => '',
4430 'choices' => array(
4431 'top' => 'Top',
4432 'left' => 'Left',
4433 ),
4434 'allow_null' => 0,
4435 'other_choice' => 0,
4436 'default_value' => 'top',
4437 'layout' => 'vertical',
4438 'return_format' => 'value',
4439 'save_other_choice' => 0,
4440 ),
4441 array(
4442 'key' => 'field_acfe_form_instruction_placement',
4443 'label' => 'Instruction placement',
4444 'name' => 'acfe_form_instruction_placement',
4445 'type' => 'radio',
4446 'instructions' => 'Determines where field instructions are places in relation to fields. Defaults to \'label\'. <br />
4447 Choices of \'label\' (Below labels) or \'field\' (Below fields)',
4448 'required' => 0,
4449 'conditional_logic' => 0,
4450 'wrapper' => array(
4451 'width' => '',
4452 'class' => '',
4453 'id' => '',
4454 ),
4455 'hide_admin' => 0,
4456 'acfe_permissions' => '',
4457 'choices' => array(
4458 'label' => 'Label',
4459 'field' => 'Field',
4460 ),
4461 'allow_null' => 0,
4462 'other_choice' => 0,
4463 'default_value' => 'label',
4464 'layout' => 'vertical',
4465 'return_format' => 'value',
4466 'save_other_choice' => 0,
4467 ),
4468 ),
4469 'location' => array(
4470 array(
4471 array(
4472 'param' => 'post_type',
4473 'operator' => '==',
4474 'value' => 'acfe-form',
4475 ),
4476 ),
4477 ),
4478 'menu_order' => 0,
4479 'position' => 'acf_after_title',
4480 'style' => 'default',
4481 'label_placement' => 'left',
4482 'instruction_placement' => 'label',
4483 'hide_on_screen' => '',
4484 'active' => true,
4485 'description' => '',
4486 'acfe_display_title' => '',
4487 'acfe_permissions' => '',
4488 'acfe_form' => 0,
4489 'acfe_meta' => '',
4490 'acfe_note' => '',
4491 ));