Open bobbingwide opened 1 year ago
Note: In acf_field_block_get_possible_field_names()
we can see that the "Message" field is registered as:
[ID] => (integer) 379
[key] => (string) "field_648729d7cffd8"
[label] => (string) "Message"
[name] => (string) ""
[aria-label] => (string) ""
[prefix] => (string) "acf"
[type] => (string) "message"
[value] => (boolean)
[menu_order] => (integer) 27
[instructions] => (string) ""
[required] => (integer) 0
[id] => (string) ""
[class] => (string) ""
[conditional_logic] => (integer) 0
[parent] => (integer) 56
[wrapper] => *RECURSION* wrapper 1
[message] => (string) "This is a message."
[new_lines] => (string) "wpautop"
[esc_html] => (integer) 0
[_name] => (string) "message"
[_valid] => (integer) 1
When I tried to use the ACF field type of
message
the response fromrender()
was:288eh?
This output is produced when the request toget_field_object()
returns null.2 things:
message
do not get assigned a field name.