Get the results of the generate function

Return Return

(int[]|WP_Error) Array of stats on success and an error object on failure.

Top ↑

Source Source

File: includes/class.llms.generator.php

	public function get_results() {

		if ( $this->is_error() ) {
			return $this->error;

		return $this->get_stats();


Top ↑

Changelog Changelog

Version Description
4.7.0 Return generated stats from $this->stats() instead of from removed $stats property.
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.