Open
Description
Hello guys, one thing that kept me from using wp-api
for a long time is the workarounds that are needed to query multiple post types in a single request (as with WP_Query
). So I was wondering, is there any elegant way to achieve this using this library?
An example would be a website with different kinds of posts like recipes
and news
, where I wanted to make a search which will return both post types. Is there any easy to achieve solution using this library? (maybe it's out of the scope of the library too, but I would love some guidance, also could be useful to update the docs with additional info)
Thanks in advance!