WP_Background_Process::unlock_process()protectedWC 1.0

Unlock process

Unlock the process so that other instances can spawn.

Method of the class: WP_Background_Process{}

No Hooks.

Return

$this.

Usage

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

WP_Background_Process::unlock_process() code WC 9.3.3

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

	return $this;
}