_acf_generate_local_key()ACF 5.7.10

_acf_generate_local_key

Generates a unique key based on the field's parent.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Returns

true|false.

Usage

_acf_generate_local_key( $field );
$field(required)
.

Changelog

Since 5.7.10 Introduced.

_acf_generate_local_key() code ACF 6.0.4

function _acf_generate_local_key( $field ) {
	return "{$field['key']}:{$field['parent']}";
}