LLMS_Database_Query::query()

Execute a query


Description Description


Return Return

(void)


Top ↑

Source Source

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

	public function query() {

		global $wpdb;

		$this->sql = $this->preprare_query();
		if ( ! $this->get( 'suppress_filters' ) ) {
			$this->sql = apply_filters( $this->get_filter( 'prepare_query' ), $this->sql, $this );
		}

		$this->results = $wpdb->get_results( $this->sql );
		$this->number_results = count( $this->results );

		$this->set_found_results();

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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