WP_Background_Process::unlock_processprotectedWC 1.0

Unlock process

Unlock the process so that other instances can spawn.

Method of the class: WP_Background_Process{}

No Hooks.

Returns

$this.

Usage

// protected - for code of main (parent) or child class
$result = $this->unlock_process();

WP_Background_Process::unlock_process() code WC 9.9.5

protected function unlock_process() {
	delete_site_transient( $this->identifier . '_process_lock' );

	return $this;
}