title: Get Item/Product Attribute in WooCommerce Order
body: <p>I'm trying to get Item or Product Attribute in WooCoomerce Order.</p>
  
  <p>How can I get it?</p>
  
  <pre><code>$order  = new WC_Order( $order_id );
  $items  = $order-&gt;get_items();
  
  foreach ( $items as $item ) {
          $pid    = $item['product_id'];
          $patt   = $pid-&gt;get_attribute( 'pa_myattrname' );
          echo $patt;
  }
  </code></pre>
  
  <p>Later, I want to insert autoresponder link on attribute, so that after user complete payment, they will automatically subscribed into my autoresponder.</p>
  
  <p>Thank you</p>