WP_Background_Process::dispatchpublicWC 1.0

Dispatch

Method of the class: WP_Background_Process{}

No Hooks.

Returns

Array|WP_Error.

Usage

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

WP_Background_Process::dispatch() code WC 10.5.0

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

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