LLMS_Database_Query::found_results()

Perform a SQL to retrieve the total number of found results for the given query.


Return Return

(int)


Top ↑

Source Source

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

	protected function found_results() {

		global $wpdb;
		return (int) $wpdb->get_var( 'SELECT FOUND_ROWS()' ); // db call ok; no-cache ok.

	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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