WC_Background_Emailer::dispatch_queue()
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() WC Background Emailer::dispatch queue code WC 9.4.2
public function dispatch_queue() { if ( ! empty( $this->data ) ) { $this->close_http_connection(); $this->save()->dispatch(); } }