WC_WCCOM_Site_Installation_State::complete_steppublicWC 1.0

Capture a successful installation of a step.

Method of the class: WC_WCCOM_Site_Installation_State{}

No Hooks.

Returns

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 10.6.2

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