Oh yeah that’s a great idea.
Hi all,
I followed your suggestions, but I can’t make it work for an URL like:
wp-json/wp/v2/professionals?filter[posts_per_page]=-1&filter[meta_query][0][key]=blabla&filter[meta_query][0][value]=sarasa&filter[meta_query][0][compare]==
I’m not sure if the code is taking effect or not, is there any way to be sure about that?
Your solution is very useful, thanks!
@aaylersghost saved my day! thank you.
Found a solution here: https://github.com/WP-API/rest-filter/issues/3#issuecomment-268342560
but it only seems to work with syntax like: wp-json/wp/v2/professionals?filter[posts_per_page]=-1&filter[meta_query][0][key]=blabla&filter[meta_query][0][value]=sarasa&filter[meta_query][0][compare]==
rather than: /wp-json/wp/v2/reizen-api?filter[reizen-land]=test123