PluginProbe ʕ •ᴥ•ʔ
Advanced Custom Fields: Extended / 0.9.2.7
Advanced Custom Fields: Extended v0.9.2.7
0.9.2.7 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 / block-type / module-block-type-fields.php
acf-extended / includes / modules / block-type Last commit date
module-block-type-fields.php 3 years ago module-block-type-upgrades.php 3 years ago module-block-type.php 3 months ago
module-block-type-fields.php
769 lines
1 <?php
2
3 if(!defined('ABSPATH')){
4 exit;
5 }
6
7 if(!class_exists('acfe_module_block_type_field_groups')):
8
9 class acfe_module_block_type_field_groups{
10
11 /**
12 * construct
13 */
14 function __construct(){
15
16 add_filter('acfe/module/register_field_groups/module=block_type', array($this, 'register_field_groups'), 10, 2);
17
18 }
19
20
21 /**
22 * register_field_groups
23 *
24 * @param $field_groups
25 * @param $module
26 *
27 * @return mixed
28 */
29 function register_field_groups($field_groups, $module){
30
31 $field_groups[] = array(
32 'key' => 'group_acfe_block_type',
33 'title' => __('Block Type', 'acfe'),
34
35 'location' => array(
36 array(
37 array(
38 'param' => 'post_type',
39 'operator' => '==',
40 'value' => $module->post_type,
41 ),
42 ),
43 ),
44
45 'menu_order' => 0,
46 'position' => 'normal',
47 'style' => 'default',
48 'label_placement' => 'left',
49 'instruction_placement' => 'label',
50 'hide_on_screen' => '',
51 'active' => 1,
52 'description' => '',
53
54 'fields' => array(
55 array(
56 'key' => 'field_tab_general',
57 'label' => 'General',
58 'name' => '',
59 'type' => 'tab',
60 'instructions' => '',
61 'required' => 0,
62 'conditional_logic' => 0,
63 'wrapper' => array(
64 'width' => '',
65 'class' => '',
66 'id' => '',
67 'data-no-preference' => true,
68 ),
69 'placement' => 'top',
70 'endpoint' => 0,
71 ),
72 array(
73 'key' => 'field_name',
74 'label' => 'Name',
75 'name' => 'name',
76 'type' => 'acfe_slug',
77 'instructions' => __('A unique name that identifies the block (without namespace).<br />Note: A block name can only contain lowercase alphanumeric characters and dashes, and must begin with a letter.', 'acfe'),
78 'required' => 1,
79 'conditional_logic' => 0,
80 'wrapper' => array(
81 'width' => '',
82 'class' => '',
83 'id' => '',
84 ),
85 'default_value' => '',
86 'placeholder' => '',
87 'prepend' => '',
88 'append' => '',
89 'maxlength' => '',
90 ),
91 array(
92 'key' => 'field_description',
93 'label' => 'Description',
94 'name' => 'description',
95 'type' => 'textarea',
96 'instructions' => __('This is a short description for your block.', 'acfe'),
97 'required' => 0,
98 'conditional_logic' => 0,
99 'wrapper' => array(
100 'width' => '',
101 'class' => '',
102 'id' => '',
103 ),
104 'default_value' => '',
105 'placeholder' => '',
106 'maxlength' => '',
107 'rows' => 3,
108 'new_lines' => '',
109 ),
110 array(
111 'key' => 'field_category',
112 'label' => 'Category',
113 'name' => 'category',
114 'type' => 'text',
115 'instructions' => __('Blocks are grouped into categories to help users browse and discover them. The core provided categories are [ common | formatting | layout | widgets | embed ]. Plugins and Themes can also register custom block categories.<br /><br />Plugins and Themes can also register <a href="https://developer.wordpress.org/block-editor/reference-guides/filters/block-filters/#managing-block-categories" target="_blank">custom block categories</a>.', 'acfe'),
116 'required' => 0,
117 'conditional_logic' => 0,
118 'wrapper' => array(
119 'width' => '',
120 'class' => '',
121 'id' => '',
122 ),
123 'default_value' => 'common',
124 'placeholder' => '',
125 'prepend' => '',
126 'append' => '',
127 'maxlength' => '',
128 ),
129 array(
130 'key' => 'field_keywords',
131 'label' => 'Keywords',
132 'name' => 'keywords',
133 'type' => 'textarea',
134 'instructions' => __('An array of search terms to help user discover the block while searching.<br />One line for each keyword. ie:<br /><br />quote<br />mention<br />cite', 'acfe'),
135 'required' => 0,
136 'conditional_logic' => 0,
137 'wrapper' => array(
138 'width' => '',
139 'class' => '',
140 'id' => '',
141 ),
142 'default_value' => '',
143 'placeholder' => '',
144 'maxlength' => '',
145 'rows' => '5',
146 'new_lines' => '',
147 'encode_value' => true,
148 ),
149 array(
150 'key' => 'field_post_types',
151 'label' => 'Post types',
152 'name' => 'post_types',
153 'type' => 'acfe_post_types',
154 'instructions' => __('An array of post types to restrict this block type to.', 'acfe'),
155 'required' => 0,
156 'conditional_logic' => 0,
157 'wrapper' => array(
158 'width' => '',
159 'class' => '',
160 'id' => '',
161 ),
162 'field_type' => 'checkbox',
163 'return_format' => 'name',
164 ),
165 array(
166 'key' => 'field_mode',
167 'label' => 'Mode',
168 'name' => 'mode',
169 'type' => 'radio',
170 'instructions' => __('The display mode for your block. Available settings are "auto", "preview" and "edit". Defaults to "preview".<br /><br /><strong>Preview</strong>: Preview is always shown. Edit form appears in sidebar when block is selected.<br /><strong>Auto</strong>: Preview is shown by default but changes to edit form when block is selected.<br /><strong>Edit</strong>: Edit form is always shown.<br /><br />Note. When in "preview" or "edit" modes, an icon will appear in the block toolbar to toggle between modes.', 'acfe'),
171 'required' => 0,
172 'conditional_logic' => 0,
173 'wrapper' => array(
174 'width' => '',
175 'class' => '',
176 'id' => '',
177 ),
178 'choices' => array(
179 'preview' => 'Preview',
180 'auto' => 'Auto',
181 'edit' => 'Edit',
182 ),
183 'default_value' => 'preview',
184 'allow_null' => 0,
185 'multiple' => 0,
186 'ui' => 0,
187 'return_format' => 'value',
188 'ajax' => 0,
189 'placeholder' => '',
190 ),
191 array(
192 'key' => 'field_align',
193 'label' => 'Align',
194 'name' => 'align',
195 'type' => 'radio',
196 'instructions' => __('The default block alignment. Available settings are "left", "center", "right", "wide" and "full". Defaults to an empty string.', 'acfe'),
197 'required' => 0,
198 'conditional_logic' => 0,
199 'wrapper' => array(
200 'width' => '',
201 'class' => '',
202 'id' => '',
203 ),
204 'choices' => array(
205 '' => 'None',
206 'left' => 'Left',
207 'center' => 'Center',
208 'right' => 'Right',
209 'wide' => 'Wide',
210 'full' => 'Full',
211 ),
212 'default_value' => '',
213 'allow_null' => 0,
214 'multiple' => 0,
215 'ui' => 0,
216 'return_format' => 'value',
217 'ajax' => 0,
218 'placeholder' => '',
219 ),
220 array(
221 'key' => 'field_align_text',
222 'label' => 'Align text',
223 'name' => 'align_text',
224 'type' => 'radio',
225 'instructions' => __('The default block text alignment (see supports setting for more info). Available settings are "left", "center" and "right". Defaults to the current language\'s text alignment.', 'acfe'),
226 'required' => 0,
227 'conditional_logic' => array(),
228 'wrapper' => array(
229 'width' => '',
230 'class' => '',
231 'id' => '',
232 ),
233 'choices' => array(
234 '' => 'Default',
235 'left' => 'Left',
236 'center' => 'Center',
237 'right' => 'Right',
238 ),
239 'default_value' => '',
240 'allow_null' => 0,
241 'multiple' => 0,
242 'ui' => 0,
243 'return_format' => 'value',
244 'ajax' => 0,
245 'placeholder' => '',
246 ),
247 array(
248 'key' => 'field_align_content',
249 'label' => 'Align content',
250 'name' => 'align_content',
251 'type' => 'text',
252 'instructions' => __('The default block content alignment (see supports setting for more info). Available settings are "top", "center" and "bottom".<br /><br />When utilising the "Matrix" control type, additional settings are available to specify all 9 positions from “top left” to “bottom right”. Defaults to "top".', 'acfe'),
253 'required' => 0,
254 'conditional_logic' => array(),
255 'wrapper' => array(
256 'width' => '',
257 'class' => '',
258 'id' => '',
259 ),
260 'default_value' => 'top',
261 'placeholder' => '',
262 'prepend' => '',
263 'append' => '',
264 'maxlength' => '',
265 ),
266
267 array(
268 'key' => 'field_tab_supports',
269 'label' => 'Supports',
270 'name' => '',
271 'type' => 'tab',
272 'instructions' => '',
273 'required' => 0,
274 'conditional_logic' => 0,
275 'wrapper' => array(
276 'width' => '',
277 'class' => '',
278 'id' => '',
279 ),
280 'placement' => 'top',
281 'endpoint' => 0,
282 ),
283
284 array(
285 'key' => 'field_supports_anchor',
286 'label' => 'Anchor',
287 'name' => 'supports_anchor',
288 'type' => 'true_false',
289 'instructions' => __('Enable Anchor attribute. Defaults to false', 'acfe'),
290 'required' => 0,
291 'conditional_logic' => 0,
292 'wrapper' => array(
293 'width' => '',
294 'class' => '',
295 'id' => '',
296 ),
297 'message' => '',
298 'default_value' => 0,
299 'ui' => 1,
300 'ui_on_text' => 'True',
301 'ui_off_text' => 'False',
302 'cleanup_key' => true,
303 ),
304
305 array(
306 'key' => 'field_supports_jsx',
307 'label' => 'Inner Block (JSX)',
308 'name' => 'supports_jsx',
309 'type' => 'true_false',
310 'instructions' => __('Parse the block HTML as JSX for the Inner Block Component to function within the React based block editor.', 'acfe'),
311 'required' => 0,
312 'conditional_logic' => 0,
313 'wrapper' => array(
314 'width' => '',
315 'class' => '',
316 'id' => '',
317 ),
318 'message' => '',
319 'default_value' => 0,
320 'ui' => 1,
321 'ui_on_text' => 'True',
322 'ui_off_text' => 'False',
323 'cleanup_key' => true,
324 ),
325
326 array(
327 'key' => 'field_supports_align',
328 'label' => 'Align',
329 'name' => 'supports_align',
330 'type' => 'true_false',
331 'instructions' => __('This property adds block controls which allow the user to change the block’s alignment. Defaults to true. Set to false to hide the alignment toolbar. Set to an array of specific alignment names to customize the toolbar.', 'acfe'),
332 'required' => 0,
333 'conditional_logic' => 0,
334 'wrapper' => array(
335 'width' => '',
336 'class' => '',
337 'id' => '',
338 ),
339 'message' => '',
340 'default_value' => 1,
341 'ui' => 1,
342 'ui_on_text' => 'True',
343 'ui_off_text' => 'False',
344 'cleanup_key' => true,
345 ),
346 array(
347 'key' => 'field_supports_align_args',
348 'label' => 'Align arguments',
349 'name' => 'supports_align_args',
350 'type' => 'textarea',
351 'instructions' => __('Set to an array of specific alignment names to customize the toolbar.<br />One line for each name. ie:<br /><br />left<br />right<br />full', 'acfe'),
352 'required' => 0,
353 'conditional_logic' => array(
354 array(
355 array(
356 'field' => 'field_supports_align',
357 'operator' => '==',
358 'value' => '1',
359 ),
360 ),
361 ),
362 'wrapper' => array(
363 'width' => '',
364 'class' => '',
365 'id' => '',
366 ),
367 'default_value' => '',
368 'placeholder' => '',
369 'maxlength' => '',
370 'rows' => 5,
371 'new_lines' => '',
372 'encode_value' => true,
373 'cleanup_key' => true,
374 ),
375
376 array(
377 'key' => 'field_supports_align_text',
378 'label' => 'Align text',
379 'name' => 'supports_align_text',
380 'type' => 'true_false',
381 'instructions' => __('This property enables a toolbar button to control the block’s text alignment. Defaults to false. Set to true to show the alignment toolbar button.', 'acfe'),
382 'required' => 0,
383 'conditional_logic' => 0,
384 'wrapper' => array(
385 'width' => '',
386 'class' => '',
387 'id' => '',
388 ),
389 'message' => '',
390 'default_value' => 0,
391 'ui' => 1,
392 'ui_on_text' => 'True',
393 'ui_off_text' => 'False',
394 'cleanup_key' => true,
395 ),
396
397 array(
398 'key' => 'field_supports_align_content',
399 'label' => 'Align content',
400 'name' => 'supports_align_content',
401 'type' => 'radio',
402 'instructions' => __('This property enables a toolbar button to control the block’s inner content alignment. Defaults to false. Set to true to show the alignment toolbar button, or set to "matrix" to enable the full alignment matrix in the toolbar', 'acfe'),
403 'required' => 0,
404 'conditional_logic' => 0,
405 'wrapper' => array(
406 'width' => '',
407 'class' => '',
408 'id' => '',
409 ),
410 'choices' => array(
411 'false' => 'False',
412 'true' => 'True',
413 'matrix' => 'Matrix',
414 ),
415 'default_value' => 'false',
416 'layout' => 'vertical',
417 'return_format' => 'value',
418 'cleanup_key' => true,
419 ),
420
421 array(
422 'key' => 'field_supports_full_height',
423 'label' => 'Full height',
424 'name' => 'supports_full_height',
425 'type' => 'true_false',
426 'instructions' => __('This property enables the full height button on the toolbar of a block', 'acfe'),
427 'required' => 0,
428 'conditional_logic' => 0,
429 'wrapper' => array(
430 'width' => '',
431 'class' => '',
432 'id' => '',
433 ),
434 'message' => '',
435 'default_value' => 0,
436 'ui' => 1,
437 'ui_on_text' => 'True',
438 'ui_off_text' => 'False',
439 'cleanup_key' => true,
440 ),
441
442 array(
443 'key' => 'field_supports_mode',
444 'label' => 'Mode',
445 'name' => 'supports_mode',
446 'type' => 'true_false',
447 'instructions' => __('This property allows the user to toggle between edit and preview modes via a button. Defaults to true.', 'acfe'),
448 'required' => 0,
449 'conditional_logic' => 0,
450 'wrapper' => array(
451 'width' => '',
452 'class' => '',
453 'id' => '',
454 ),
455 'message' => '',
456 'default_value' => 1,
457 'ui' => 1,
458 'ui_on_text' => 'True',
459 'ui_off_text' => 'False',
460 'cleanup_key' => true,
461 ),
462 array(
463 'key' => 'field_supports_multiple',
464 'label' => 'Multiple',
465 'name' => 'supports_multiple',
466 'type' => 'true_false',
467 'instructions' => __('This property allows the block to be added multiple times. Defaults to true.', 'acfe'),
468 'required' => 0,
469 'conditional_logic' => 0,
470 'wrapper' => array(
471 'width' => '',
472 'class' => '',
473 'id' => '',
474 ),
475 'message' => '',
476 'default_value' => 1,
477 'ui' => 1,
478 'ui_on_text' => 'True',
479 'ui_off_text' => 'False',
480 'cleanup_key' => true,
481 ),
482
483 array(
484 'key' => 'field_tab_icon',
485 'label' => 'Icon',
486 'name' => '',
487 'type' => 'tab',
488 'instructions' => '',
489 'required' => 0,
490 'conditional_logic' => 0,
491 'wrapper' => array(
492 'width' => '',
493 'class' => '',
494 'id' => '',
495 ),
496 'placement' => 'top',
497 'endpoint' => 0,
498 ),
499 array(
500 'key' => 'field_icon_type',
501 'label' => 'Icon Type',
502 'name' => 'icon_type',
503 'type' => 'radio',
504 'instructions' => __('Simple: Specify a Dashicons class or SVG path<br />Colors: Specify colors & Dashicons class', 'acfe'),
505 'required' => 0,
506 'conditional_logic' => 0,
507 'wrapper' => array(
508 'width' => '',
509 'class' => '',
510 'id' => '',
511 ),
512 'choices' => array(
513 'simple' => 'Simple',
514 'colors' => 'Colors',
515 ),
516 'default_value' => 'simple',
517 'allow_null' => 0,
518 'multiple' => 0,
519 'ui' => 0,
520 'return_format' => 'value',
521 'ajax' => 0,
522 'placeholder' => '',
523 'cleanup_key' => true,
524 ),
525 array(
526 'key' => 'field_icon_text',
527 'label' => 'Icon',
528 'name' => 'icon_text',
529 'type' => 'text',
530 'instructions' => __('An icon property can be specified to make it easier to identify a block. These can be any of WordPress’ Dashicons, or a custom svg element.', 'acfe'),
531 'required' => 0,
532 'conditional_logic' => array(
533 array(
534 array(
535 'field' => 'field_icon_type',
536 'operator' => '==',
537 'value' => 'simple',
538 ),
539 ),
540 ),
541 'wrapper' => array(
542 'width' => '',
543 'class' => '',
544 'id' => '',
545 ),
546 'default_value' => '',
547 'placeholder' => '',
548 'prepend' => '',
549 'append' => '',
550 'maxlength' => '',
551 'cleanup_key' => true,
552 ),
553 array(
554 'key' => 'field_icon_background',
555 'label' => 'Icon background',
556 'name' => 'icon_background',
557 'type' => 'color_picker',
558 'instructions' => __('Specifying a background color to appear with the icon e.g.: in the inserter.', 'acfe'),
559 'required' => 0,
560 'conditional_logic' => array(
561 array(
562 array(
563 'field' => 'field_icon_type',
564 'operator' => '==',
565 'value' => 'colors',
566 ),
567 ),
568 ),
569 'wrapper' => array(
570 'width' => '',
571 'class' => '',
572 'id' => '',
573 ),
574 'default_value' => '',
575 'cleanup_key' => true,
576 ),
577 array(
578 'key' => 'field_icon_foreground',
579 'label' => 'Icon foreground',
580 'name' => 'icon_foreground',
581 'type' => 'color_picker',
582 'instructions' => __('Specifying a color for the icon (optional: if not set, a readable color will be automatically defined)', 'acfe'),
583 'required' => 0,
584 'conditional_logic' => array(
585 array(
586 array(
587 'field' => 'field_icon_type',
588 'operator' => '==',
589 'value' => 'colors',
590 ),
591 ),
592 ),
593 'wrapper' => array(
594 'width' => '',
595 'class' => '',
596 'id' => '',
597 ),
598 'default_value' => '',
599 'cleanup_key' => true,
600 ),
601 array(
602 'key' => 'field_icon_src',
603 'label' => 'Icon src',
604 'name' => 'icon_src',
605 'type' => 'text',
606 'instructions' => __('Specifying a dashicon for the block', 'acfe'),
607 'required' => 0,
608 'conditional_logic' => array(
609 array(
610 array(
611 'field' => 'field_icon_type',
612 'operator' => '==',
613 'value' => 'colors',
614 ),
615 ),
616 ),
617 'wrapper' => array(
618 'width' => '',
619 'class' => '',
620 'id' => '',
621 ),
622 'default_value' => '',
623 'placeholder' => '',
624 'prepend' => '',
625 'append' => '',
626 'maxlength' => '',
627 'cleanup_key' => true,
628 ),
629
630 array(
631 'key' => 'field_tab_render',
632 'label' => 'Render',
633 'name' => '',
634 'type' => 'tab',
635 'instructions' => '',
636 'required' => 0,
637 'conditional_logic' => 0,
638 'wrapper' => array(
639 'width' => '',
640 'class' => '',
641 'id' => '',
642 ),
643 'placement' => 'top',
644 'endpoint' => 0,
645 ),
646 array(
647 'key' => 'field_render_template',
648 'label' => 'Render template',
649 'name' => 'render_template',
650 'type' => 'text',
651 'instructions' => __('The path to a template file used to render the block HTML. This can either be a relative path to a file within the active theme, parent theme, wp-content directory or a full path to any file.', 'acfe'),
652 'required' => 0,
653 'conditional_logic' => 0,
654 'wrapper' => array(
655 'width' => '',
656 'class' => '',
657 'id' => '',
658 ),
659 'default_value' => '',
660 'placeholder' => '',
661 'prepend' => '',
662 'append' => '',
663 'maxlength' => '',
664 ),
665 array(
666 'key' => 'field_render_callback',
667 'label' => 'Render callback',
668 'name' => 'render_callback',
669 'type' => 'text',
670 'instructions' => __('Instead of providing a render_template, a callback function name may be specified to output the block\'s HTML.', 'acfe'),
671 'required' => 0,
672 'conditional_logic' => 0,
673 'wrapper' => array(
674 'width' => '',
675 'class' => '',
676 'id' => '',
677 ),
678 'default_value' => '',
679 'placeholder' => '',
680 'prepend' => '',
681 'append' => '',
682 'maxlength' => '',
683 ),
684
685 array(
686 'key' => 'field_tab_enqueue',
687 'label' => 'Enqueue',
688 'name' => '',
689 'type' => 'tab',
690 'instructions' => '',
691 'required' => 0,
692 'conditional_logic' => 0,
693 'wrapper' => array(
694 'width' => '',
695 'class' => '',
696 'id' => '',
697 ),
698 'placement' => 'top',
699 'endpoint' => 0,
700 ),
701 array(
702 'key' => 'field_enqueue_style',
703 'label' => 'Enqueue style',
704 'name' => 'enqueue_style',
705 'type' => 'text',
706 'instructions' => __('The url to a .css file to be enqueued whenever your block is displayed (front-end and back-end). This can either be a relative path to a file within the active theme, parent theme, wp-content directory or a full path to any file.', 'acfe'),
707 'required' => 0,
708 'conditional_logic' => 0,
709 'wrapper' => array(
710 'width' => '',
711 'class' => '',
712 'id' => '',
713 ),
714 'default_value' => '',
715 'placeholder' => '',
716 'prepend' => '',
717 'append' => '',
718 'maxlength' => '',
719 ),
720 array(
721 'key' => 'field_enqueue_script',
722 'label' => 'Enqueue script',
723 'name' => 'enqueue_script',
724 'type' => 'text',
725 'instructions' => __('The url to a .js file to be enqueued whenever your block is displayed (front-end and back-end). This can either be a relative path to a file within the active theme, parent theme, wp-content directory or a full path to any file.', 'acfe'),
726 'required' => 0,
727 'conditional_logic' => 0,
728 'wrapper' => array(
729 'width' => '',
730 'class' => '',
731 'id' => '',
732 ),
733 'default_value' => '',
734 'placeholder' => '',
735 'prepend' => '',
736 'append' => '',
737 'maxlength' => '',
738 ),
739 array(
740 'key' => 'field_enqueue_assets',
741 'label' => 'Enqueue assets',
742 'name' => 'enqueue_assets',
743 'type' => 'text',
744 'instructions' => __('A callback function that runs whenever your block is displayed (front-end and back-end) and enqueues scripts and/or styles.', 'acfe'),
745 'required' => 0,
746 'conditional_logic' => 0,
747 'wrapper' => array(
748 'width' => '',
749 'class' => '',
750 'id' => '',
751 ),
752 'default_value' => '',
753 'placeholder' => '',
754 'prepend' => '',
755 'append' => '',
756 'maxlength' => '',
757 ),
758 ),
759 );
760
761 return $field_groups;
762
763 }
764
765 }
766
767 acf_new_instance('acfe_module_block_type_field_groups');
768
769 endif;