LLMS_Abstract_Processor::dispatch()
Dispatch
Description Description
Overrides the parent method to reset the (saved) $data
property and prevent duplicate data being pushed into future batches.
Return Return
(array|WP_Error) Result of wp_remote_post()
Source Source
File: includes/abstracts/llms.abstract.processor.php
public function dispatch() { // Perform the parent method. $ret = parent::dispatch(); /** * Empty the (saved) data to prevent duplicate data in future batches. * * @link https://github.com/gocodebox/lifterlms/issues/1602 */ $this->data = array(); return $ret; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.21.0 | Introduced. |