LLMS_REST_Webhooks_Query::preprare_query()
Prepare the SQL for the query
Contents
Return Return
(string)
Source Source
File: libraries/lifterlms-rest/includes/class-llms-rest-webhooks-query.php
128 129 130 131 132 133 134 135 136 137 | */ protected function prepare_query() { global $wpdb ; return "SELECT { $this ->sql_select_columns( 'id' )} FROM { $wpdb ->prefix}lifterlms_webhooks { $this ->sql_where()} { $this ->sql_orderby()} { $this ->sql_limit()};"; |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.16 | Use $this->sql_select_columns({columns}) to determine the columns to select. |
1.0.0-beta.1 | Introduced. |