Home › Forums › ACF PRO › Field loading already disabled › Reply To: Field loading already disabled
It would have to be happening in a filter somewhere on the site. ACF by default does not add the ability to disable fields and it must be done in a filter.
I would start with a search of the code base for acf/load_field or acf/prepare_field filters. It’s possible that a filter on some other field is affecting this select field as well.
Another possibility is that the acf/load_field filter affected the field while a field group was being edited and ACF save it in the field settings for the field. acf/load_field can affect how fields are saved, for example if an acf/load_field filter is used to add choices dynamically to a select field, these added choices will appear when editing a field. Whereas an acf/prepare_field filter will not have this result. Generally it is better to use an acf/prepare_field filter rather than an acf/load_field filter for this reason. But the acf/prepare_field filter is newer.
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.