ACF_Local_Meta::is_requestpublicACF 5.7.14

is_request

Returns true if the supplied $meta is from a REQUEST (serialized <form> data).

Method of the class: ACF_Local_Meta{}

No Hooks.

Returns

true|false.

Usage

$ACF_Local_Meta = new ACF_Local_Meta();
$ACF_Local_Meta->is_request( $meta );
$meta(array)
An array of metdata to check.
Default: array()

Changelog

Since 5.7.14 Introduced.

ACF_Local_Meta::is_request() code ACF 6.0.4

function is_request( $meta = array() ) {
	return acf_is_field_key( key( $meta ) );
}