LLMS_Database_Query::get_results()

Retrieve an array of results for the given query.


Return Return

(array)


Top ↑

Source Source

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

		 *
		 * @since 4.5.1
		 *
		 * @param string              $select_columns Columns to select.
		 * @param LLMS_Database_Query $db_query       Instance of LLMS_Database_Query.
		 */
		return apply_filters( "llms_{$this->id}_query_select_columns", $select_columns, $this );
	}

	/**
	 * Retrieve the prepared SQL for the LIMIT clause.
	 *
	 * @since 3.16.0
	 * @since 4.5.1 Drop use of `$this->get_filter('limit')` in favor of `"llms_{$this->id}_query_limit"`.
	 * @since 10.0.0 Returns empty string for count_only queries.
	 *
	 * @return string
	 */

Top ↑

Changelog 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.

Top ↑

User Contributed Notes User Contributed Notes

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