WC_Legacy_Customer::get_default_country()

Get default country for a customer.


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/legacy/class-wc-legacy-customer.php

	public function get_default_country() {
		wc_deprecated_function( 'WC_Customer::get_default_country', '3.0', 'wc_get_customer_default_location' );
		$default = wc_get_customer_default_location();
		return $default['country'];
	}


Top ↑

User Contributed Notes User Contributed Notes

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