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

Support meta fields in REST API query params #7210

Open
JoryHogeveen opened this issue Oct 30, 2023 · 0 comments · May be fixed by #7211
Open

Support meta fields in REST API query params #7210

JoryHogeveen opened this issue Oct 30, 2023 · 0 comments · May be fixed by #7211
Assignees
Labels
Component: REST API Issues related to the Pods REST API endpoints or integration with existing WP REST API endpoints Type: Enhancement Enhancements to features that already exist, but are not major additions Type: Feature Features that add entirely new functionality that was not there before
Milestone

Comments

@JoryHogeveen
Copy link
Member

JoryHogeveen commented Oct 30, 2023

Problem to Solve

Currently the WordPress REST API does not support metadata queries at all.
While this is a core issue it would be nice to support Pods fields in the core REST API endpoints.

Proposed Solution

Support the following hook: https://developer.wordpress.org/reference/hooks/rest_this-post_type_query/

@JoryHogeveen JoryHogeveen added Type: Feature Features that add entirely new functionality that was not there before Type: Enhancement Enhancements to features that already exist, but are not major additions Component: REST API Issues related to the Pods REST API endpoints or integration with existing WP REST API endpoints labels Oct 30, 2023
@JoryHogeveen JoryHogeveen added this to the Pods 3.0.9 milestone Oct 30, 2023
@JoryHogeveen JoryHogeveen self-assigned this Oct 30, 2023
@JoryHogeveen JoryHogeveen linked a pull request Oct 30, 2023 that will close this issue
4 tasks
@sc0ttkclark sc0ttkclark modified the milestones: Pods 3.1.1, Pods 3.1.3 Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: REST API Issues related to the Pods REST API endpoints or integration with existing WP REST API endpoints Type: Enhancement Enhancements to features that already exist, but are not major additions Type: Feature Features that add entirely new functionality that was not there before
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

2 participants