Home › Forums › Front-end Issues › How can you output the Field Label? › Reply To: How can you output the Field Label?
I’ve read this before. Using the field name doesn’t work, like if I have a dozen fields I need a dozen variables or calls using get_field_object
?
get_field_object(field_1);
get_field_object(field_2);
get_field_object(field_3);
get_field_object(field_4);
get_field_object(field_5);
This isn’t clean to me. When you do a var dump
you see [label]
why can’t that be called?
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.