acf-to-rest-api
acf-to-rest-api copied to clipboard
How to query by ACF fields in the posts endpoint
Added a simple checkbox field called restrict_to with a few values in ACF. I used this plugin to bring that field into the posts API which worked great but I can't seem to find any way to filter post results by the custom field value. Would be great if there was a way to use the custom field to include or exclude posts with certain values from the response. Is this possible?