LLMS_Abstract_Notification_Processor::dispatch()
Starts the queue.
Return Return
(array|WP_Error) Response from wp_remote_post()
.
Source Source
File: includes/abstracts/llms.abstract.notification.processor.php
public function dispatch() { $this->log( sprintf( 'Dispatching %s', $this->action ) ); $dispatched = parent::dispatch(); if ( is_wp_error( $dispatched ) ) { $this->log( sprintf( 'Unable to dispatch %1$s: %2$s', $this->action, $dispatched->get_error_message() ) ); } return $dispatched; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.10.1 | Fixed malformed sprintf when logging dispatch errors. |
3.8.0 | |
3.38.0 | Introduced. |