LLMS_Generator::get_results()
Get the results of the generate function
Return Return
(int[]|WP_Error) Array of stats on success and an error object on failure.
Source Source
File: includes/class.llms.generator.php
264 265 266 267 268 269 270 271 272 | public function get_results() { if ( $this ->is_error() ) { return $this ->error; } return $this ->get_stats(); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Return generated stats from $this->stats() instead of from removed $stats property. |
3.3.0 | Introduced. |