LLMS_Database_Query::sanitize_sort()

Removes any invalid sort fields before preparing a query.


Return Return

(void)


Top ↑

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 ) {

Top ↑

Changelog Changelog

Changelog
Version Description
3.34.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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