Home › Forums › General Issues › get_field returning null after update › Reply To: get_field returning null after update
I cant rigth now, as installing the update breaks the live site. I need to setup a test site with the update.
As I said the same code works in 5.10.2, so the get_field call is valid and there is data in that field.
I will let you know when I have a test site ready.
The field I am trying to get data from is named “udstiller_label_ental”
The posttype is called “produkt”
So I tried:
get_field('udstiller_label_ental','produkt_archive');
But got no data in version 5.11. In version 5.10.2 I get “udstiller” as a result.
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?
— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.