Untitled Snippet
// WP_Query arguments $args = array( 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'product_tag', 'terms' => '$term', 'field' => 'slug', 'operator' => 'NOT IN', ), ), ); // The Query $query = new WP_Query( $args );