Home › Forums › General Issues › Get a field object outside of the post context › Reply To: Get a field object outside of the post context
i don’t have the same approach, it should be an acf function not a wp function.
ACF should give a function to output $field[‘choices’] regardless of where it is used and regardless of if it is used or not.
if the plugin can export a field, we should be able to get the raw field structure with an acf function, outside of the post scope 🙂
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.