To remove customer details from vendor order mail, order details page, order CSV file you need to add the below code on the functions.php file of your current active theme –
add_filter(‘show_cust_address_field’, ‘__return_false’);
add_filter(‘show_cust_billing_address_field’, ‘__return_false’);
add_filter(‘show_cust_shipping_address_field’, ‘__return_false’);
add_filter(‘is_vendor_can_see_order_billing_address’, ‘__return_false’);
add_filter(‘is_vendor_can_see_order_shipping_address’, ‘__return_false’);
add_filter(‘is_vendor_can_see_customer_details’, ‘__return_false’);
add_filter(‘show_customer_details_in_export_orders’, ‘__return_false’);
add_filter(‘show_customer_billing_address_in_export_orders’, ‘__return_false’);
add_filter(‘show_customer_shipping_address_in_export_orders’, ‘__return_false’);






