LLMS_Database_Query::sanitize_sort()
Removes any invalid sort fields before preparing a query.
Contents
Return Return
(void)
Source Source
File: includes/abstracts/abstract.llms.database.query.php
$this->query = $val;
}
}
/**
* Handle backwards compatibility for the misspelled (and removed) method `preprare_query()`.
*
* @since 6.0.0
*
* @param string $name Method name.
* @param array $args Arguments passed to the method.
* @return void|string
*/
public function __call( $name, $args ) {
if ( 'preprare_query' === $name ) {
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.34.0 | Introduced. |