WordPress at Your Fingertips
function is not described

WC_Legacy_Customer::set_state() public WC 1.0

Legacy set 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->set_state( $state );
$state(string) (required)
-

Code of WC_Legacy_Customer::set_state() WC 5.7.1

function set_state( $state ) {
	wc_deprecated_function( 'WC_Customer::set_state', '3.0', 'WC_Customer::set_billing_state' );
	$this->set_billing_state( $state );
}