Add this snippet to your site –
add_filter( 'wcfm_orderlist_billing_address', function( $billing_address, $order_id ) {
$order = wc_get_order( $order_id );
$raw_address = $order->get_address( 'billing' );
unset( $raw_address['first_name'], $raw_address['last_name'], $raw_address['company'] );
$address = WC()->countries->get_formatted_address( $raw_address );
$billing_address = wp_kses( $address, array( 'br' => array() ) );
return $billing_address;
}, 50, 2 );
add_filter( 'wcfm_orderlist_shipping_address', function( $shipping_address, $order_id ) {
$order = wc_get_order( $order_id );
$raw_address = $order->get_address( 'shipping' );
unset( $raw_address['first_name'], $raw_address['last_name'], $raw_address['company'] );
$address = WC()->countries->get_formatted_address( $raw_address );
$shipping_address = wp_kses( $address, array( 'br' => array() ) );
return $shipping_address;
}, 50, 2 );
Add custom code(s) to your child theme’s functions.php
In case you do not have child theme then add those using this plugin –?https://www.ads-software.com/plugins/code-snippets/