title: WooCommercer/WP - Add custom field output to admin-new-order email
body: <p>Having an issue related to creating a new custom dropdown menu on my checkout page in woocommerce. I was able to build the custom field using code I found here and there, but I can't get it to actually send me the result (what the user has chosen) via my email template.</p>
  
  <p>Here's the code I added to my function.php in order to create the new field. It's a dropdown menu with 3 choices, user HAVE to select one.</p>
  
  <pre><code>/**
   * Add the field to the checkout
   **/
  add_action('woocommerce_after_order_notes', 'my_custom_checkout_field');
  
  function my_custom_checkout_field( $checkout ) {
  
      echo '&lt;div id="my_custom_checkout_field"&gt;&lt;h3&gt;'.__('Méthode de Paiement').'&lt;/h3&gt;';
  
      woocommerce_form_field( 'my_field_name', array(
          'type'          =&gt; 'select',
          'class'         =&gt; array('my-field-class form-row-wide'),
      'required'      =&gt; true,
          'label'         =&gt; __('Faites votre choix de paiement'),
          'placeholder'       =&gt; __('Enter something'),
      'options'     =&gt; array(
          'choice1' =&gt; __('Cash - Montant exact', 'woocommerce' ),
          'choice2' =&gt; __('Cash - Montant inexact', 'woocommerce' ),
          'choice3' =&gt; __('Carte', 'woocommerce' )
          )
          ), $checkout-&gt;get_value( 'my_field_name' ));
  
      echo '&lt;/div&gt;';
  
  }
  
  /**
   * Process the checkout
   **/
  add_action('woocommerce_checkout_process', 'my_custom_checkout_field_process');
  
  function my_custom_checkout_field_process() {
      global $woocommerce;
  
      // Check if set, if its not set add an error.
      if (!$_POST['my_field_name'])
           $woocommerce-&gt;add_error( __('Ce champ est obligatoire, veuillez choisir.') );
  }
  
  /**
   * Update the order meta with field value
   **/
  add_action('woocommerce_checkout_update_order_meta', 'my_custom_checkout_field_update_order_meta');
  
  function my_custom_checkout_field_update_order_meta( $order_id ) {
      if ($_POST['my_field_name']) update_post_meta( $order_id, 'My Field', esc_attr($_POST['my_field_name']));
  }
  </code></pre>
  
  <p>Now this is the code in the admin-new-order.php, which is the email template that the admin of the woocommerce site gets when a new order is sent.</p>
  
  <pre><code>&lt;?php
  /**
   * Admin new order email
   *
   * @author WooThemes
   * @package WooCommerce/Templates/Emails/HTML
   * @version 2.0.0
   */
  
  if ( ! defined( 'ABSPATH' ) ) {
      exit; // Exit if accessed directly
  }
  
  ?&gt;
  
  &lt;?php do_action( 'woocommerce_email_header', $email_heading ); ?&gt;
  
  &lt;p&gt;&lt;?php printf( __( 'You have received an order from %s. The order is as follows:', 'woocommerce' ), $order-&gt;billing_first_name . ' ' . $order-&gt;billing_last_name ); ?&gt;&lt;/p&gt;
  
  &lt;?php do_action( 'woocommerce_email_before_order_table', $order, true, false ); ?&gt;
  
  &lt;h2&gt;&lt;a href="&lt;?php echo admin_url( 'post.php?post=' . $order-&gt;id . '&amp;action=edit' ); ?&gt;"&gt;&lt;?php printf( __( 'Order #%s', 'woocommerce'), $order-&gt;get_order_number() ); ?&gt;&lt;/a&gt; (&lt;?php printf( '&lt;time datetime="%s"&gt;%s&lt;/time&gt;', date_i18n( 'c', strtotime( $order-&gt;order_date ) ), date_i18n( wc_date_format(), strtotime( $order-&gt;order_date ) ) ); ?&gt;)&lt;/h2&gt;
  
  &lt;table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px solid #eee;" border="1" bordercolor="#eee"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th scope="col" style="text-align:left; border: 1px solid #eee;"&gt;&lt;?php _e( 'Product', 'woocommerce' ); ?&gt;&lt;/th&gt;
              &lt;th scope="col" style="text-align:left; border: 1px solid #eee;"&gt;&lt;?php _e( 'Quantity', 'woocommerce' ); ?&gt;&lt;/th&gt;
              &lt;th scope="col" style="text-align:left; border: 1px solid #eee;"&gt;&lt;?php _e( 'Price', 'woocommerce' ); ?&gt;&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;?php echo $order-&gt;email_order_items_table( false, true ); ?&gt;
      &lt;/tbody&gt;
      &lt;tfoot&gt;
          &lt;?php
              if ( $totals = $order-&gt;get_order_item_totals() ) {
                  $i = 0;
                  foreach ( $totals as $total ) {
                      $i++;
                      ?&gt;&lt;tr&gt;
                          &lt;th scope="row" colspan="2" style="text-align:left; border: 1px solid #eee; &lt;?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?&gt;"&gt;&lt;?php echo $total['label']; ?&gt;&lt;/th&gt;
                          &lt;td style="text-align:left; border: 1px solid #eee; &lt;?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?&gt;"&gt;&lt;?php echo $total['value']; ?&gt;&lt;/td&gt;
                      &lt;/tr&gt;&lt;?php
                  }
              }
          ?&gt;
      &lt;/tfoot&gt;
  &lt;/table&gt;
  
  &lt;?php do_action( 'woocommerce_email_after_order_table', $order, true, false ); ?&gt;
  
  &lt;?php do_action( 'woocommerce_email_order_meta', $order, true, false ); ?&gt;
  
  &lt;?php do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text ); ?&gt;
  
  &lt;?php do_action( 'woocommerce_email_footer' ); ?&gt;
  </code></pre>
  
  <p>All I want to do is add one line to that email, pretty much anywhere, that says something like "the output for the custom field is choiceX", which would tell me which one of the 3 the user has selected.</p>
  
  <p>I can't seem to find the variable or the code I have to use to make this work.</p>
  
  <p>Any help would be very much appreciated.</p>