admin管理员组文章数量:1389779
I am adding a filter for woocommerce_checkout_fields but instead of updating the existing field label it creates a duplicate field in the woocommerce-additional-fields section as shown in the image.
$fields['order']['billing_phone']['label'] = 'Mobile number (in resort contact number)';
return $fields;
I understood that this should override the existing field label -
Any pointers appreciated.
本文标签: customizationwoocommercecheckoutfields modifying existing billingphone label created new field
版权声明:本文标题:customization - woocommerce_checkout_fields modifying existing billing_phone label created new field 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744620090a2615970.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论