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
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | public function dispatch() { // Perform the parent method. $ret = parent::dispatch(); /** * Empty the (saved) data to prevent duplicate data in future batches. * */ $this ->data = array (); return $ret ; } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.21.0 | Introduced. |