Home › Forums › Bug Reports › [ACF PRO] Option Page Mysterious Bug
It is displayed correctly before saving the data, but the information of the field disappears after saving.
This is a bug? or I wrong?
*”Group Key and Field Key” does not overlap.
ACF PRO 5.0.2
PHP included (register_field_group)
`register_field_group(array (
‘key’ => ‘group_53c6227e20093’,
‘title’ => ‘Options: Store’,
‘fields’ => array (
array (
‘key’ => ‘field_535727d69b36d’,
‘label’ => __(‘Store archive setting’, ‘dress’),
‘name’ => ”,
‘prefix’ => ”,
‘type’ => ‘message’,
‘instructions’ => ”,
‘required’ => 0,
‘conditional_logic’ => 0,
‘message’ => ”,
),
array (
‘key’ => ‘field_5357280d9b370’,
‘label’ => __(‘Products per page’, ‘dress’),
‘name’ => ‘bt_product_ppp_num’,
‘prefix’ => ”,
‘type’ => ‘number’,
‘instructions’ => __(‘0 or Blank is WordPress Default.’, ‘dress’),
‘required’ => 0,
‘conditional_logic’ => 0,
‘default_value’ => 10,
‘placeholder’ => ”,
‘prepend’ => ”,
‘append’ => ”,
‘min’ => 0,
‘max’ => ”,
‘step’ => ”,
‘readonly’ => 0,
‘disabled’ => 0,
),
array (
‘key’ => ‘field_535728269b371’,
‘label’ => __(‘Variations list’, ‘dress’),
‘name’ => ‘bt_product_vlist’,
‘prefix’ => ”,
‘type’ => ‘radio’,
‘instructions’ => ”,
‘required’ => 0,
‘conditional_logic’ => 0,
‘choices’ => array (
‘enable’ => __(‘Enable’, ‘dress’),
‘disable’ => __(‘Disable’, ‘dress’),
),
‘other_choice’ => 0,
‘save_other_choice’ => 0,
‘default_value’ => ‘enable’,
‘layout’ => ‘horizontal’,
),
…
…
…
),
‘location’ => array (
array (
array (
‘param’ => ‘options_page’,
‘operator’ => ‘==’,
‘value’ => ‘acf-options-store’,
),
),
),
‘menu_order’ => 0,
‘position’ => ‘normal’,
‘style’ => ‘seamless’,
‘label_placement’ => ‘top’,
‘instruction_placement’ => ‘label’,
‘hide_on_screen’ => ”,
));
option_name can be no longer than 64 characters
http://stackoverflow.com/questions/12416542/limitations-for-option-strings-in-wordpress
The topic ‘[ACF PRO] Option Page Mysterious Bug’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.