diff --git a/includes/class-wc-order.php b/includes/class-wc-order.php index ca87426262e..e392cad1d89 100644 --- a/includes/class-wc-order.php +++ b/includes/class-wc-order.php @@ -889,9 +889,10 @@ class WC_Order extends WC_Abstract_Order { * @return string */ public function get_formatted_shipping_address( $empty_content = '' ) { - $address = apply_filters( 'woocommerce_order_formatted_shipping_address', $this->get_address( 'shipping' ), $this ); + $address = ''; if ( $this->has_shipping_address() ) { + $address = apply_filters( 'woocommerce_order_formatted_shipping_address', $this->get_address( 'shipping' ), $this ); $address = WC()->countries->get_formatted_address( $address ); }