LLMS_Notifications_Query::prepare_query()
Prepare the SQL for the query.
Return Return
(string)
Source Source
File: includes/notifications/class.llms.notifications.query.php
}
/**
* Parse submitted triggers
*
* @return void
* @since 3.11.0
* @version 3.11.0
*/
private function parse_triggers() {
$triggers = $this->arguments['triggers'];
// allow strings to be submitted when only requesting one status
if ( is_string( $triggers ) ) {
$triggers = array( $triggers );
}
$this->arguments['triggers'] = $triggers;
}
/**
* Prepare the SQL for the query.
*
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Renamed from preprare_query(). |
| 3.9.4 | Unknown. |
| 3.8.0 | Introduced. |