WordPress at a glance
function is not described

WC_Legacy_Customer::get_default_country() public WC 1.0

Get default country for a customer.

{} It's a method of the class: WC_Legacy_Customer{}

No Hooks.

Return

String.

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->get_default_country();

Code of WC_Legacy_Customer::get_default_country() WC 5.0.0

<?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'];
}