WP_Background_Process::dispatch()publicWC 1.0

Dispatch

Method of the class: WP_Background_Process{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Background_Process = new WP_Background_Process();
$WP_Background_Process->dispatch();

WP_Background_Process::dispatch() code WC 8.7.0

public function dispatch() {
	// Schedule the cron healthcheck.
	$this->schedule_event();

	// Perform remote post.
	return parent::dispatch();
}