WC_Background_Emailer::dispatch_queue()publicWC 1.0

Save and run queue.

Method of the class: WC_Background_Emailer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Background_Emailer = new WC_Background_Emailer();
$WC_Background_Emailer->dispatch_queue();

WC_Background_Emailer::dispatch_queue() code WC 8.7.0

public function dispatch_queue() {
	if ( ! empty( $this->data ) ) {
		$this->close_http_connection();
		$this->save()->dispatch();
	}
}