meta query
$meta_query = array( 'relation' => 'AND', array( 'key' => '_ywar_product_id', 'value' => '$product_id', 'compare' => '=', 'type' => 'NUMERIC', ), array( 'key' => 'recommend_it', 'value' => 'not', 'compare' => '=', 'type' => 'CHAR', ), );
$meta_query = array( 'relation' => 'AND', array( 'key' => '_ywar_product_id', 'value' => '$product_id', 'compare' => '=', 'type' => 'NUMERIC', ), array( 'key' => 'recommend_it', 'value' => 'not', 'compare' => '=', 'type' => 'CHAR', ), );