From 7e54fa0628bf1a4254730638b145d6aa518591e5 Mon Sep 17 00:00:00 2001 From: Brando Meniconi Date: Tue, 27 Nov 2018 11:12:33 +0100 Subject: [PATCH] Add priority to 'shipping_phone' checkout field add the priority key to the 'shipping_phone' field in 'add_shipping_phone_to_checkout' function --- woocommerce-services.php | 1 + 1 file changed, 1 insertion(+) diff --git a/woocommerce-services.php b/woocommerce-services.php index f862ce67b..bc3618fea 100644 --- a/woocommerce-services.php +++ b/woocommerce-services.php @@ -1229,6 +1229,7 @@ function add_shipping_phone_to_checkout( $fields ) { 'clear' => true, 'validate' => array( 'phone' ), 'autocomplete' => 'tel', + 'priority' => 80, ); return $fields; }