LLMS_Query_Quiz_Attempt::prepare_query()
Prepare the SQL for the query.
Return Return
(string)
Source Source
File: includes/class.llms.query.quiz.attempt.php
protected function prepare_query() {
global $wpdb;
return "SELECT SQL_CALC_FOUND_ROWS id
FROM {$wpdb->prefix}lifterlms_quiz_attempts
{$this->sql_where()}
{$this->sql_orderby()}
{$this->sql_limit()};";
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Renamed from preprare_query(). |
| 3.16.0 | Introduced. |