Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to query by ACF fields in the posts endpoint #387

Open
db654 opened this issue Aug 31, 2021 · 0 comments
Open

How to query by ACF fields in the posts endpoint #387

db654 opened this issue Aug 31, 2021 · 0 comments

Comments

@db654
Copy link

db654 commented Aug 31, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant