Support

Account

Home Forums General Issues Bulk Fetch ACF field across multiple posts Reply To: Bulk Fetch ACF field across multiple posts

  • @lfleming

    How many posts do you need to query exactly?

    What if you look to store the post IDs elsewhere, saving the need to run the query each time?

    One possible option would be to use rest API and add some ACF custom fields. Whenever a post is updated or published, you could then look to run a function which runs a batch process script, gathering all the post IDs or other data and saves that to a specific field.

    That way, your map only needs to use this data rather than constantly running queries.

    I found querying from the API far quicker, especially when running as a batch processing script.