Home › Forums › General Issues › Get ALL fields for ALL posts in one array › Reply To: Get ALL fields for ALL posts in one array
It’s weird, even if I delete all ACF fields from WP Admin area, and clean all ACF data from post_meta table in the DB, and all post data from wp_posts, except for the two published posts, I still get 4 arrays…
If I add another post, I get 6 arrays, etc.
Not sure where the code you’ve provided loops twice through each post.
Thanx again for your help!!!
Mark
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.