Hot answers tagged


You should really read the documentation on meta_query's Here is what is allowed in a meta_query key (string) - Custom field key. value (string|array) - Custom field value. It can be an array only when compare is 'IN', 'NOT IN', 'BETWEEN', or 'NOT BETWEEN'. You don't have to specify a value when using the 'EXISTS' or 'NOT EXISTS' comparisons in WordPress ...

Only top voted, non community-wiki answers of a minimum length are eligible