WC_WCCOM_Site_Installation_State::initiate_step()publicWC 1.0

Initiate a step.

Method of the class: WC_WCCOM_Site_Installation_State{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_WCCOM_Site_Installation_State = new WC_WCCOM_Site_Installation_State();
$WC_WCCOM_Site_Installation_State->initiate_step( $step_name );
$step_name(string) (required)
Step name.

WC_WCCOM_Site_Installation_State::initiate_step() code WC 9.4.2

public function initiate_step( $step_name ) {
	$this->last_step_name   = $step_name;
	$this->last_step_status = self::STEP_STATUS_IN_PROGRESS;
}