WP_Meta_Query Generator July 20, 2017 Public Dasun Edirisinghe Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Meta Query $meta_query = array( 'relation' => 'AND', array( 'key' => 'notification_category', 'value' => 'pre', ), );