Skip to content

Commit

Permalink
named keys for accordion subfields
Browse files Browse the repository at this point in the history
  • Loading branch information
gwelser committed Mar 15, 2017
1 parent d1f0789 commit 7b405f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions admin/partials/registered-field-groups/flex-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@
'layout' => 'block',
'button_label' => 'Add Panel',
'sub_fields' => array(
array(
'panels_panel_title' => array(
'key' => 'accordion_field_panels_panel_title',
'label' => 'Panel Title',
'name' => 'panel_title',
Expand All @@ -2102,7 +2102,7 @@
'readonly' => 0,
'disabled' => 0,
),
array(
'panel_title' => array(
'key' => 'accordion_field_panel_title',
'label' => 'Title',
'name' => 'title',
Expand Down Expand Up @@ -2131,7 +2131,7 @@
'readonly' => 0,
'disabled' => 0,
),
array(
'panel_subtitle' => array(
'key' => 'accordion_field_panel_subtitle',
'label' => 'Subtitle',
'name' => 'subtitle',
Expand Down Expand Up @@ -2160,7 +2160,7 @@
'readonly' => 0,
'disabled' => 0,
),
array(
'panel_text' => array(
'key' => 'accordion_field_panel_text',
'label' => 'Text',
'name' => 'text',
Expand All @@ -2186,7 +2186,7 @@
'toolbar' => 'full',
'media_upload' => 1,
),
array(
'panel_classes' => array(
'key' => 'accordion_field_panel_classes',
'label' => 'Classes',
'name' => 'class',
Expand All @@ -2207,7 +2207,7 @@
'readonly' => 0,
'disabled' => 0,
),
array(
'panel_id' => array(
'key' => 'accordion_field_panel_id',
'label' => 'ID',
'name' => 'id',
Expand All @@ -2228,7 +2228,7 @@
'readonly' => 0,
'disabled' => 0,
),
array(
'panel_hide' => array(
'key' => 'accordion_field_panel_hide',
'label' => 'Hide',
'name' => 'hide',
Expand Down

0 comments on commit 7b405f0

Please sign in to comment.