What’s the best way of updating the spelling of an option on a ACF Checkbox field (saved to users) without removing any users that have already selected that option? From my testing, when you change the spelling of the option, the users that had chosed the misspelt option no longer have it selected, which makes sense. Do I need to do a find and replace on the database to reattach the updated option? Not sure if that makes sense!
@hube2 I came up with an alternate solution using a Search and Replace plugin (Better Search Replace by Delicious Brains who now owns ACF of course!)
I did a search and replace on the wp_usermeta table for the typo and replaced it with the correct spelling. I then went into the checkbox field setting and fixed the typo. After that I checked any users who had the typo selected and their choice had updated (and remained checked)!
Viewing 4 posts - 1 through 4 (of 4 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