WC_Legacy_Customer::set_state()publicWC 1.0

Legacy set state.

Метод класса: WC_Legacy_Customer{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->set_state( $state );
$state(строка) (обязательный)
-

Код WC_Legacy_Customer::set_state() WC 8.7.0

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