meta_query value in post meta array code example
Example: wp query meta in array
$args = array(
'post_type' => 'news',
'meta_query' => array(
array(
'key' => 'topics',
'value' => array ( 'sports', 'nonprofit', 'community' ),
'compare' => 'IN'
)
)
);