LLMS_Events_Query::preprare_query()

Prepare the SQL for the query.


Return Return

(string)


Top ↑

Source Source

File: includes/class-llms-events-query.php

	 * @return string
	 */
	protected function prepare_query() {

		global $wpdb;

		$from  = "FROM {$wpdb->prefix}lifterlms_events";
		$where = $this->sql_where();

		if ( ! $this->get( 'no_found_rows' ) ) {
			$this->count_query = "SELECT COUNT(*) {$from} {$where}";

Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Use $this->sql_select_columns({columns}) to determine the columns to select.
3.36.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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