pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Support meta fields in REST API query params #7210

Open JoryHogeveen opened 11 months ago

JoryHogeveen commented 11 months ago

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/