WordPress at Your Fingertips
function is not described

WC_Legacy_Customer::get_state() public WC 1.0

Legacy get state.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Legacy_Customer::get_state() WC 5.7.1

function get_state() {
	wc_deprecated_function( 'WC_Customer::get_state', '3.0', 'WC_Customer::get_billing_state' );
	return $this->get_billing_state();
}