#i', "\n", $order->get_formatted_billing_address() ) . "\n\n"; if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) { echo __( 'Shipping address', 'woocommerce' ) . ":\n"; echo preg_replace( '##i', "\n", $shipping ) . "\n\n"; }