wp query meta in array

Solutions on MaxInterview for wp query meta in array by the best coders in the world

showing results for - "wp query meta in array"
Ida
01 Feb 2016
1$args = array(
2    'post_type' => 'news',
3    'meta_query' => array(
4        array(
5            'key' => 'topics',
6            'value' => array ( 'sports', 'nonprofit', 'community' ),
7            'compare' => 'IN'
8        )
9    )
10);