Home › Forums › General Issues › get_field not returning values › Reply To: get_field not returning values
This did the trick for me too! Same situation with a custom Date Picker field for events. Everything was coming back as false when I used get_sub_field()
but get_post_field()
got my true values to appear as they should.
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.