How can I create a meta_query with an array as meta_field?
Here are the args for my query : $args = array( ‘post_type’ => ‘news’, ‘meta_query’ => array( array( ‘key’ => ‘topics’, ‘value’ => ‘sports’, ) ) ); This works when topics is a string, but not when it is an array. I’d like this query to work when topics is for example array( ‘sports’, ‘nonprofit’, … Read more