Home › Forums › General Issues › Setting True/False positive value en masse › Reply To: Setting True/False positive value en masse
Unfortunately, I am afraid that is currently not the case because of how ACF saved the field values.
ACF saves the field values as post/user meta records. By setting the fields default value, this will auto load the value when editing the user records however, this does not update the records’ meta value.
As an approach, you would need to loop through updating the values using the update_field method.
Hope this helps.
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.