I have a WordPress installation with a couple thousand posts that were exported from another site with a custom script that only captured some post meta. ACF field keys were not carried over.
All of the fields and their data look ok in the wp-admin, even repeaters, but on the front-end certain things don’t load correctly. Pressing “update” on the post in the wp-admin fixes this because it adds all the correct field keys to the post meta.
Is it possible for me to trigger this programmatically? It would be painful to have to manually click “update” on ~3000 posts.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users