LLMS_Notifications::dispatch_processors()
On shutdown, check for processors that have items in the queue that need to be saved save & dispatch the background process
Description Description
Return Return
(void)
Source Source
File: includes/notifications/class.llms.notifications.php
public function dispatch_processors() { foreach ( $this->processors_to_dispatch as $key => $name ) { $processor = $this->get_processor( $name ); if ( $processor ) { unset( $this->processors_to_dispatch[ $key ] ); $processor->save()->dispatch(); } } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |