Hello – have an odd scenario with a data import gone wrong that’s caused data inside an ACF Repeater field to get duplicated.
Is there a way to run some sort of clean-up script, to remove all of the data inside a specific repeater field within the Users info?
The ACF Repeater is used to store a list of documents for each user, so looking for a way to flush that data out, so that I’m able to run a clean import.
Thank you for your help
Do a user query to get all the users then use delete_field() using the repeater field name. This will delete the repeater and all sub fields.
Thank you, John – will check that out.