WP_Background_Process::unlock_process()protectedWC 1.0

Unlock process

Unlock the process so that other instances can spawn.

{} It's a 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();

Code of WP_Background_Process::unlock_process() WC 6.8.2

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

	return $this;
}