WordPress at Your Fingertips
function is not described

WP_Background_Process::dispatch() public WC 1.0

Dispatch

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WP_Background_Process::dispatch() WC 5.8.0

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

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