WC_Order::has_billing_address()

Returns true if the order has a billing address.


Description Description


Return Return

(boolean)


Top ↑

Source Source

File: includes/class-wc-order.php

	public function has_billing_address() {
		return $this->get_billing_address_1() || $this->get_billing_address_2();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.4 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.