Home › Forums › General Issues › Ordering by Custom Field That Stores JSON › Reply To: Ordering by Custom Field That Stores JSON
If it’s an ACF field it does not store JSON. ACF fields that contain arrays store serialized values.
There isn’t WP_Query() on fields like these and the best option is what you suggest, store the value you want to search and filter on into it’s own meta_key.
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.