1

ваши данные

get_checkout_fields( 'billing' ); // $required_fields = ['billing_first_name', 'billing_phone', 'billing_email']; // $counter = 1; // foreach ( $fields as $key => $field ) { // if (in_array($key, $required_fields)) { ?>