Select field
-
I have select field in ACF.
I make:
“$field = get_field_object(‘my_field’);
print_r( $field);”it displays:
Array ( [key] => field_my_field [label] => [name] => my_field [_name] => my_field [type] => text [order_no] => 1 [instructions] => [required] => 0 [id] => acf-field-my_field [class] => text [conditional_logic] => Array ( [status] => 0 [allorany] => all [rules] => 0 ) [default_value] => [formatting] => html [maxlength] => [placeholder] => [prepend] => [append] => [value] => )
[choices] – no
“my_field [type] => text” – Why? The same selection field, already checked, and deleted, all the same type=text with the output of the array (((WP, ACF free – latest
https://www.ads-software.com/plugins/advanced-custom-fields/
- The topic ‘Select field’ is closed to new replies.