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

			'found_results'  => array( 'get_found_results', true ),
			'max_pages'      => array( 'get_max_pages', true ),
			'number_results' => array( 'get_number_results', true ),
			'query_vars'     => array( 'query_vars', false ),
			'results'        => array( 'get_results', true ),
		);
	}

	/**
	 * Throws a deprecation message when a formerly public property is accessed directly.
	 *
	 * @since 6.0.0
	 *
	 * @param string $prop Property name.
	 * @return void
	 */

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.