WC_WCCOM_Site_Installation_State::complete_step()publicWC 1.0

Capture a successful installation of a step.

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

Хуков нет.

Возвращает

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

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

$WC_WCCOM_Site_Installation_State = new WC_WCCOM_Site_Installation_State();
$WC_WCCOM_Site_Installation_State->complete_step( $step_name );
$step_name(строка) (обязательный)
The step name.

Код WC_WCCOM_Site_Installation_State::complete_step() WC 9.8.2

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