ACF field filtering not working
-
Hi,
Many thanks for this useful plugin!I’m trying to filter a simple true/false checkbox that I put on my pages with ACF, with this query which comes out empty:
/wp-json/wp/v2/pages?filter[meta_key]=appevents&filter[meta_value]=trueIf I’m creating a meta field directly with WP, I can do the key AND value filtering, and this one is correctly displaying the pages that I tested my checkbox with:
/wp-json/wp/v2/pages?filter[meta_key]=appeventsI’m not sure where I could have made a mistake in my ACF config, as it only has a rule to check if it’s a page, and a true/false field which has “appevents” as its name. I tried using another type of field, but it changed nothing.
Am I getting something wrong here?
Thanks!
- The topic ‘ACF field filtering not working’ is closed to new replies.