how to filter the data’s comparison operators (>= & <=) & range between values using the WP REST API


I’m quit new for wordpress development. Working with property management website with mobile API Development.

Here need to filter the data’s for based on conditions like greater than and less than & between range.

For example need to filter and search the data’s where price filter range and between and greater or less than bedrooms. Kindly help me to solve this issue.I’ve tried below example but not works to me[meta_key]=property_bathrooms&filter[meta_value]=4&filter[meta_compare]=>=&filter[meta_key]=property_bedrooms&filter[meta_value]=5&filter[meta_compare]=>=&filter[meta_key]=property_price&filter[meta_value]=5,500&filter[meta_compare]=between
sankar muniyappa 4 months 0 Answers 19 views 0

Leave an answer