LLMS_Abstract_Query::get_results()
Retrieve an array of results for the given query.
Return Return
(array)
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 );
}
Expand full source code Collapse full source code View on GitHub
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. |