Actually no- I am using the “render field” hook, to simply add the field name to my backend like so:
https://cl.ly/4fea604f2b91
I appreciate your suggestion to simply “output the field’s settings so I can look at it rather than look up any documentation if it exists” but I don’t know how to do that 🙂
But I can follow directions. Hopefully this thread will be useful to the next boob interested in altering the way ACF displays field data in the backend!
Yay that did it! Thanks, John!
The preceding underscore was the right field to call (‘_name’ vs ‘name’)
As for knowing what specific value to call in this function… isn’t there a reference published anywhere of these core ACF values?
I’ve search the ACF site and don’t see this particular field (_name) anywhere in any reference doc. Anybody prove me wrong?
John,
I appreciate the reply. I entered the first sample code you offered (adding rather than replacing) into my child theme’s functions.php file, and it definitely affected a change to the way my fields render when editing any page.
However, the actual value I’m after (the short-code-able field_name) isn’t rendering. Instead, I get a different output. See attached screenshot.
Perhaps there is another value to enter other than ‘name’ to get what I’m after?
Again- the value I want displayed next to the label is the “name” that I use in a shortcode, with underscores between the words comprising the field’s name words.
Example for clarity:
Label: Tom’s Field Example
Name for shortcode: toms_field_example