title: Add Taxonomy Name to WooCommerce Email Notification
body: <p>To the good folk of Stack Overflow,</p>
  <p>I am using the official WooCommerce Product Vendors plugin on a website, and would like to add the vendor's name underneath any products ordered in the notification emails that customers receive.</p>
  <p>I've tried using the following function, but nothing is returned. Any idea what I'm doing wrong?</p>
  <pre><code>function add_artist_name_to_order_notification( $item_id, $item, $order ) {
  
      $taxonomy = 'wcpv_product_vendors';
  
      if ( ! is_wc_endpoint_url() &amp;&amp; $item-&gt;is_type('line_item') ) {
          
          $product    = $item-&gt;get_product();
          
          $label_name = get_taxonomy( $taxonomy )-&gt;labels-&gt;singular_name;
  
          if ( $term_names = $product-&gt;get_attribute( $taxonomy ) ) {
              
              echo '&lt;br/&gt;&lt;small&gt;Artist: ' . nl2br( $term_names ) . '&lt;/small&gt;';
              
          }
          
      }
      
  }
  
  add_action( 'woocommerce_order_item_meta_start', 'add_artist_name_to_order_notification', 10, 3 );
  </code></pre>