LLMS_Database_Query::__call( string $name, array $args )

Handle backwards compatibility for the misspelled (and removed) method preprare_query().

Parameters Parameters


(string) (Required) Method name.


(array) (Required) Arguments passed to the method.

Top ↑

Return Return


Top ↑

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();

Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.