ACF_Ajax_Query::get_argspublicACF 5.7.2

Returns an array of args for this query.

Method of the class: ACF_Ajax_Query{}

No Hooks.

Returns

Array.

Usage

$ACF_Ajax_Query = new ACF_Ajax_Query();
$ACF_Ajax_Query->get_args( $request );
$request(array) (required)
The request args.

Changelog

Since 5.7.2 Introduced.

ACF_Ajax_Query::get_args() code ACF 6.8.8

public function get_args( $request ) {
	/**
	 * We return an empty array here as subclasses should implement
	 * their own allow list of parameters for security.
	 */
	return array();
}