Home › Forums › Backend Issues (wp-admin) › WP Query – Multiple values in ACF Checkbox › Reply To: WP Query – Multiple values in ACF Checkbox
A check box in ACF stores a serialized array
'event_status_clause' => array(
'key' => 'status',
'value' => 'Exclude Past',
'compare' => 'NOT LIKE'
),
I also you are using a type of “DATE” for acf date fields. This will not work because ACF does not store date fields in standard SQL notation. You must search these as “NUMERIC”
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.