Home › Forums › General Issues › post type vs post object › Reply To: post type vs post object
Never mind, just solved my own problem
after troubleshooting a little more I figured out that I was registering the custom post type using a plugin boilerplate that, in order to reduce its footprint in the admin panel, only calls these plugin functions with no AJAX, which is something that the custom fields use when a user chooses the field type and loads the options via ajax.
Such a pain but I’m glad I solved this.
I changed:
if( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX )
to
if ( is_admin() )
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.