LLMS_Database_Query::__call( string $name, array $args )
Handle backwards compatibility for the misspelled (and removed) method preprare_query()
.
Parameters Parameters
- $name
-
(string) (Required) Method name.
- $args
-
(array) (Required) Arguments passed to the method.
Return Return
(void|string)
Source Source
File: includes/abstracts/abstract.llms.database.query.php
public function __call( $name, $args ) { if ( 'preprare_query' === $name ) { $class = get_called_class(); _deprecated_function( "{$class}::preprare_query()", '6.0.0', "{$class}::prepare_query()" ); return $this->prepare_query(); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |