WC_Legacy_Customer::get_default_country()
Get default country for a customer.
Description Description
Return Return
(string)
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']; }