Home › Forums › General Issues › How can I programmatically set a taxonomy field in wp_insert_post? › Reply To: How can I programmatically set a taxonomy field in wp_insert_post?
…Actually, my code was correct and I had mis-spelled the meta_key name!
I apologize about this, but I was using trial-and-error for a couple of hours trying different stuff, that should be working.
Hopefully this thread also helps someone else with similar issues.
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.