Home › Forums › General Issues › get_field() doesn't return a value when fields are created with update_field() › Reply To: get_field() doesn't return a value when fields are created with update_field()
@dabernathy89
According to what @hube2 said it’s possible, bot not implemented because of:
1. The complexity (it requires much more effort to “guess” the field name: more DB queries and matching location rules, etc).
2. Possible performance issues.
IMO it would be great if such feature was implemented. There could be a function like: acf_get_field_name_by_key()
;
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.