Just a thought.
Option to mark ‘Select’ field as ‘autopopulated’ so when exporting fields as php/json it doesn’t export values.
Hi @bobz,
Hmm… You should be able to accomplish this using the acf/load_field filter. Actually there is a tutorial in the docs which explains how this can be done. Here is the link: http://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/
Hope this helps 🙂
Hi James,
Thanks for your reply, but my question was regarding exporting fields.
When you do:
1. auto populate fields using example you shared
2. you export fields as php, so you can include them somewhere and you don’t have to re-create fields
you also get values exported for a select field you were auto populating.