Title: E-Mail Priority Problem
Last modified: May 9, 2021

---

# E-Mail Priority Problem

 *  Resolved [loopforever](https://wordpress.org/support/users/loopforever/)
 * (@loopforever)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/e-mail-priority-problem/)
 * Hello,
    I’ve added a new field for customer order email notification. I want 
   it to appear in the email under Shipping Address. However, this field appears
   at the top (billing and shipping). I changed Priority. But it didn’t work. Can
   you help me ?
 *     ```
       add_filter( 'woocommerce_email_order_meta_fields', 'a_filter_woocommerce_email_order_meta_fields_phone_number', 40, 3 );
       // Display on email notifications
       function a_filter_woocommerce_email_order_meta_fields_phone_number( $fields, $sent_to_admin, $order ) {
           // Get meta
           $shipping_phone = $order->get_meta( '_shipping_phone' );
   
           // NOT empty
           if ( ! empty( $shipping_phone ) ) { 
               $fields['_shipping_phone'] = array(
                   'label'       => __( 'Shipping Phone', 'woocommerce' ),
                   'value'       => $shipping_phone,
                   'priority'    => 96,
               );
           }
   
           return $fields;
       }
       ```
   
    -  This topic was modified 5 years, 1 month ago by [loopforever](https://wordpress.org/support/users/loopforever/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [loopforever](https://wordpress.org/support/users/loopforever/)
 * (@loopforever)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/e-mail-priority-problem/#post-14416217)
 * Update
    The problem is solved. Thank you. Maybe it helps someone else : [Stack Overflow](https://stackoverflow.com/questions/61522677/woocommerce-editable-custom-checkout-field-and-displayed-in-formatted-address)
 *  [Rambo](https://wordpress.org/support/users/rahul020691/)
 * (@rahul020691)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/e-mail-priority-problem/#post-14417405)
 * Hi [@loopforever](https://wordpress.org/support/users/loopforever/),
 * Glad to hear it – thanks for letting us know!
 * I’ll mark this thread as resolved now. If you have any further questions, I recommend
   creating a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘E-Mail Priority Problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Rambo](https://wordpress.org/support/users/rahul020691/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/e-mail-priority-problem/#post-14417405)
 * Status: resolved