|
|
'textarea',
'class' => 'textarea field_option-choices',
'name' => 'fields['.$key.'][choices]',
'value' => $field['choices'],
));
?>
'true_false',
'name' => 'fields['.$key.'][other_choice]',
'value' => $field['other_choice'],
'message' => __("Add 'other' choice to allow for custom values", 'acf')
));
?>
style="display:none">
'true_false',
'name' => 'fields['.$key.'][save_other_choice]',
'value' => $field['save_other_choice'],
'message' => __("Save 'other' values to the field's choices", 'acf')
));
?>
|
|
|
'radio',
'name' => 'fields['.$key.'][layout]',
'value' => $field['layout'],
'layout' => 'horizontal',
'choices' => array(
'vertical' => __("Vertical",'acf'),
'horizontal' => __("Horizontal",'acf')
)
));
?>
|