woocommerce_shipping_fields

Using this filter, we can edit shipping address fields.

Sample :

add_filter( ‘woocommerce_shipping_fields’, ‘shippingfields’ );

function shippingfields ( $fields ) {

$fields[‘shipping_phone’][‘label’] =’Phone’;

$fields[‘shipping_email’][‘label’] =’Email’;

return $fields;

}