Home › Forums › General Issues › Location Array not updating after PHP Import › Reply To: Location Array not updating after PHP Import
Hi @lesgrossman
The issue is that your location rule is not written correctly. Can you please create a new field group in the backend of WP with the desired location rules, then export the field group and just copy / paste the location rules out.
The issue in particular is that your array is nested incorrectly.
Following my above advice will demonstrate how the nesting should look.
Thanks
E
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.