LLMS_Events_Query::preprare_query()
Prepare the SQL for the query.
Contents
Return Return
(string)
Source Source
File: includes/class-llms-events-query.php
142 143 144 145 146 147 148 149 150 151 | */ protected function prepare_query() { global $wpdb ; return "SELECT { $this ->sql_select_columns( 'id' )} FROM { $wpdb ->prefix}lifterlms_events { $this ->sql_where()} { $this ->sql_orderby()} { $this ->sql_limit()};"; |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Use $this->sql_select_columns({columns}) to determine the columns to select. |
3.36.0 | Introduced. |