1

That's not how meta_query works, the documentation at WordPress.org states that meta_query does not take parameters, but rather arrays of parameters meta_query also contains one or more arrays with the following keys: Then further down: Important Note: meta_query takes an array of meta query arguments arrays (it takes an array of arrays) – you can see ...


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