LLMS_Database_Query::get_results()
Retrieve an array of results for the given query.
Contents
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.database.query.php
* @since 3.16.0 * @since 4.5.1 Drop use of `$this->get_filter('limit')` in favor of `"llms_{$this->id}_query_limit"`. * * @return string */ protected function sql_limit() { global $wpdb; $sql = $wpdb->prepare( 'LIMIT %d, %d', $this->get_skip(), $this->get( 'per_page' ) ); /** * Filters the query LIMIT clause. * * The dynamic part of the filter `$this->id` identifies the extending query. * * @since 3.16.0 *
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.5.1 | Drop use of this->get_filter('get_results') in favor of "llms_{$this->id}_query_get_results" . |
3.8.0 | Introduced. |