LLMS_Database_Query::found_results()
Perform a SQL to retrieve the total number of found results for the given query.
Return Return
(int)
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.
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |