Home › Forums › General Issues › How do you set default values on a set of posts in bulk? › Reply To: How do you set default values on a set of posts in bulk?
Hi NC,
Since you’ve set the checkbox default value yourself when creating the ACF field you don’t really need access to the array..
If the value is just from one checkbox it will be saved as a string (if I remember correctly) and you can just manually write that out as the info to be saved without accessing the checkbox actual values.. Since it’s the same value as for the default value when ACF loads it it will recognize it as the default being checked while in reality you put it in there manually 🙂
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.