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.


Top ↑

Return Return

(void|string)


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

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.