I'm using rest-api plugin to fetch flight details from wordpress. I had registered a custom taxonomy called 'searchflight' with terms corresponding to country,city and flight.

My problem is that when I call


I API could read the custom taxonomy but couldn't get filtered by the terms. I've already tried using the rest-filter plugin but that too isn't working.

Is there a workaround for getting posts based on the custom taxonomy and custom terms?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.