Closed edwery closed 2 months ago
The type can be omitted - its the type of the item to compare so that the "=" is not misused - but in this case its defaulted anyway, so no need for it. The meta_query will accept an array or an array of arrays, so I thought just having one was simpler.
Ok, the documentation I read is perhaps out of date.
Change meta_value/key alteration into a meta_query so as not to clash with meta_key use in date sorting.