Nested meta_query with multiple relation keys

Posted by Prem Tiwari | Updated on

The meta_query parameter will actually be transformed into a WP_Meta_Query object, and the relation verification won’t go deeper in wp-includes/meta.php, and occurs just once in the top level:

A possible solution for this is to build your own JOIN for this query.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers