WordPress at Your Fingertips
function is not described

WP_Background_Process::complete() protected WC 1.0

Complete.

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

{} It's a method of the class: WP_Background_Process{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WP_Background_Process::complete() WC 5.8.0

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