WC_Legacy_Customer::get_default_state()
Get default state for a customer.
Description Description
Return Return
(string)
Source Source
File: includes/legacy/class-wc-legacy-customer.php
public function get_default_state() {
wc_deprecated_function( 'WC_Customer::get_default_state', '3.0', 'wc_get_customer_default_location' );
$default = wc_get_customer_default_location();
return $default['state'];
}