WC_WCCOM_Site_Installation_State::complete_step()
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() WC WCCOM Site Installation State::complete step code WC 9.3.1
public function complete_step( $step_name ) { $this->last_step_name = $step_name; $this->last_step_status = self::STEP_STATUS_COMPLETED; }