Home › Forums › Feature Requests › Speed up work with new option in gallery field › Reply To: Speed up work with new option in gallery field
If I had a few hundred posts to update I would more than likely build php cron task that interacted directly with the database.
next best solutions would be to create an acf/load_value filter https://www.advancedcustomfields.com/resources/acfload_value/. If the value === NULL then no value is set, get all of the image IDs uploaded to the post. This second method would mean you don’t need to update anything unless you want to change the gallery.
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.