ACF_Ajax::haspublicACF 5.7.2

has

Returns true if the request has data for the given key.

Method of the class: ACF_Ajax{}

No Hooks.

Returns

true|false.

Usage

$ACF_Ajax = new ACF_Ajax();
$ACF_Ajax->has( $key );
$key(string)
The data key.
Default: ''

Changelog

Since 5.7.2 Introduced.

ACF_Ajax::has() code ACF 6.0.4

function has( $key = '' ) {
	return isset( $this->request[ $key ] );
}