function add_shipping_phone_to_checkout($fields)
{
$fields['shipping_phone'] = array('label' => __('Phone', 'woocommerce'), 'type' => 'tel', 'required' => false, 'class' => array('form-row-wide'), 'clear' => true, 'validate' => array('phone'), 'autocomplete' => 'tel');
return $fields;
}