Query multiple meta key values?

Posted by Prem Tiwari | Updated on

I had the same problem where passing multiple arrays for the same key wasn’t working. Instead, just use one array, set ‘value’ to an array of values, and set ‘compare’ to IN:


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