Your business may require customised WooCommerce checkout field labels. This quick guide shows you how you can easily and quickly customise any checkout field label to any custom text you like. In this example, we change the billing phone field label, “Phone”, to “Your Digits”.
/**
* Snippet Name: Change the WooCommerce checkout field labels.
* Snippet Author: ecommercehints.com
*/
add_filter( 'woocommerce_checkout_fields' , 'ecommercehints_change_checkout_field_labels', 9999 );
function ecommercehints_change_checkout_field_labels( $f ) {
$f['billing']['billing_phone']['label'] = 'Your Digits';
return $f;
}
Need To Edit Other Checkout Field Labels?
Code snippets coming soon!