Automattic\WooCommerce\Admin\Features\Settings

Transformer::reset_state()publicWC 1.0

Reset the state to its initial values.

Method of the class: Transformer{}

No Hooks.

Return

null. Nothing (null).

Usage

$Transformer = new Transformer();
$Transformer->reset_state(): void;

Transformer::reset_state() code WC 9.7.1

public function reset_state(): void {
	$this->current_group          = null;
	$this->current_checkbox_group = null;
}