WC_WCCOM_Site_Installation_State::complete_step()publicWC 1.0

Capture a successful installation of 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->complete_step( $step_name );
$step_name(string) (required)
The step name.

WC_WCCOM_Site_Installation_State::complete_step() code WC 8.7.0

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