WP_Meta_Query Generator July 9, 2018 Public Nam DK Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone test meta $meta_query = array( 'relation' => 'OR', array( 'key' => 'custom_key', 'value' => 'value', ), );