WC_Legacy_Customer::get_default_country()
Get default country for a customer.
Метод класса: WC_Legacy_Customer{}
Хуков нет.
Возвращает
Строку
.
Использование
$WC_Legacy_Customer = new WC_Legacy_Customer(); $WC_Legacy_Customer->get_default_country();
Код WC_Legacy_Customer::get_default_country() WC Legacy Customer::get default country WC 7.5.1
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']; }