Home › Forums › General Issues › Serialized values v/s Multiple meta entries for checkboxes › Reply To: Serialized values v/s Multiple meta entries for checkboxes
Hi john i used your code but wordpress returned an error i fixed in by using
if ((!is_array($value)) || (!count($value))) {
instead of if (!is_array($value)) || !count($value)) {
in your code …problem was caused due parantheses … and thank you for your code it saved my time and life 🙂
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.