WP_Background_Process::complete()protectedWC 1.0

Complete.

Override if applicable, but ensure that the below actions are performed, or, call parent::complete().

Method of the class: WP_Background_Process{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WP_Background_Process::complete() code WC 8.7.0

protected function complete() {
	// Unschedule the cron healthcheck.
	$this->clear_scheduled_event();
}