Initial commit
This commit is contained in:
116
acfe-php/group_65d1d88898a0f.php
Normal file
116
acfe-php/group_65d1d88898a0f.php
Normal file
@@ -0,0 +1,116 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d1d88898a0f',
|
||||
'title' => 'Поля мероприятий',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d1d88809be9',
|
||||
'label' => 'Организатор',
|
||||
'name' => 'organizer',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
array(
|
||||
'key' => 'field-65d1d8d6393e9',
|
||||
'label' => 'Дата мероприятия',
|
||||
'name' => 'date',
|
||||
'aria-label' => '',
|
||||
'type' => 'date_picker',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'display_format' => 'd/m/Y',
|
||||
'return_format' => 'Y-m-d',
|
||||
'first_day' => 1,
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d1d9763cc52',
|
||||
'label' => 'Место проведения',
|
||||
'name' => 'location',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d1d9903d82f',
|
||||
'label' => 'Телефон',
|
||||
'name' => 'phone',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'post_type',
|
||||
'operator' => '==',
|
||||
'value' => 'events',
|
||||
),
|
||||
),
|
||||
),
|
||||
'menu_order' => 0,
|
||||
'position' => 'normal',
|
||||
'style' => 'default',
|
||||
'label_placement' => 'top',
|
||||
'instruction_placement' => 'label',
|
||||
'hide_on_screen' => '',
|
||||
'active' => true,
|
||||
'description' => '',
|
||||
'show_in_rest' => 0,
|
||||
'acfe_display_title' => '',
|
||||
'acfe_autosync' => array(
|
||||
0 => 'php',
|
||||
),
|
||||
'acfe_form' => 0,
|
||||
'acfe_meta' => '',
|
||||
'acfe_note' => '',
|
||||
'modified' => 1708512800,
|
||||
));
|
||||
|
||||
endif;
|
||||
Reference in New Issue
Block a user