Saturday, December 24, 2022
HomeWordPress Developmentplugins - WordPress REST API filter on clean customized ACF

plugins – WordPress REST API filter on clean customized ACF


I am actually struggling utilizing the WordPress Relaxation v2 API. I’ve put in this plugin (https://github.com/WP-API/rest-filter) and I am attempting to filter the place a subject is clean as I’m eager to exclude sure data from not being returned within the API name. I’ve a customized submit kind referred to as “Buyer”. I can name the endpoint with out the filter parameter and I get knowledge again, however I need to slender down the outcomes.

https://instance.com/wp-json/wp/v2/buyer?filter[customer_url]=””

This clearly doesn’t work, however I’m attempting to filter on data the place the customer_url subject is clean.

"acf": {
 "customer_name": "Instance, Inc.",
 "customer_url": ""
}

How can this be executed?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments