Home › Forums › Backend Issues (wp-admin) › Rewriting Metadata › Reply To: Rewriting Metadata
You have assumed that the data is incorrect, when in fact, the data is perfectly fine.
A checkbox can save multiple values, therefore, it will save it’s data as a serialized array.
Please leave the data as it originally was. If you want the value ‘1’ to be saved for WP_Query meta_key filtering, then please use a radio button instead of a checkbox.
The radio button, or select field will save the value as a string (un-serialized) because only 1 vaue can be saved.
Does that help?
Thanks
E
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.