Add new fields at the billing address woocommerce
问题 I want to edit my billing address at my website, where i need to add and delete some others in my account page, which code shall I edit? Thank you in advanced 回答1: Can you please check below code you can add new custom field example. add_filter( 'woocommerce_billing_fields', 'custom_woocommerce_billing_fields' ); function custom_woocommerce_billing_fields( $fields ) { $fields['billing']['billing_options'] = array( 'label' => __('Custom Field', 'woocommerce'), // Add custom field label