WP_Background_Process::dispatch │ public │ WC 1.0

Dispatch

Метод класса: WP_Background_Process{}

Хуков нет.

Возвращает

array|WP_Error.

Использование

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

Код WP_Background_Process::dispatch() WC 11.2.2

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

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