LLMS_Abstract_Query::get_results()

Retrieve an array of results for the given query.


Return Return

(array)


Top ↑

Source Source

File: includes/abstracts/llms-abstract-query.php

	public function get_results() {

		if ( $this->get( 'suppress_filters' ) ) {
			return $this->results;
		}

		/**
		 * Filters the query results.
		 *
		 * The dynamic part of the filter `$this->id` identifies the extending query.
		 *
		 * @since 3.8.0
		 *
		 * @param array $results Array of results retrieved by the query.
		 */
		return apply_filters( "llms_{$this->id}_query_get_results", $this->results );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Moved from LLMS_Database_Query abstract.
4.5.1 Drop use of this->get_filter('get_results') in favor of "llms_{$this->id}_query_get_results".
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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