Billing fields Remove address 2

0.0/5
<?php
add_filter('woocommerce_billing_fields','wpd_custom_billing_fields');

function wpd_custom_billing_fields( $fields = array() ) {


    unset($fields['billing_address_2']);


    return $fields;
}

Comments and reviews

{{ reviewsTotal }} Review
{{ reviewsTotal }} Reviews
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}

Description

This snippet removes adress 2 from the Woocommerce billing fields

Author

Tags