Filter JSON Response based on Meta Key and values
-
Hi!
Im currently using a post type of Units with custom fields of “Floor Level” and “Building”. The custom fields are already registered in WP rest api and currently displaying the values correctly.However i need to filter the JSON returned data based on custom query like this:
/wp-json/wp/v2/unit?wpcf-floor-level=10&wpcf-building=2
I hope to hear from you soon.
Thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Filter JSON Response based on Meta Key and values’ is closed to new replies.