ACF_Field_User::get_ajax_querypublicACF 5.0.9

Deprecated since 5.8.9. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Return an array of data formatted for use in a select2 AJAX response.

Method of the class: ACF_Field_User{}

No Hooks.

Returns

Array.

Usage

$ACF_Field_User = new ACF_Field_User();
$ACF_Field_User->get_ajax_query( $options );
$options
.
Default: array()

Changelog

Since 5.0.9 Introduced.
Deprecated since 5.8.9

ACF_Field_User::get_ajax_query() code ACF 6.0.4

function get_ajax_query( $options = array() ) {
	_deprecated_function( __FUNCTION__, '5.8.9' );
	return array();
}