WC_Legacy_Customer::set_state()publicWC 1.0

Legacy set state.

Method of the class: WC_Legacy_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->set_state( $state );
$state(string) (required)
-

WC_Legacy_Customer::set_state() code WC 8.6.1

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