acf_is_field_group_key()ACF 5.0.0

acf_is_field_group_key

Returns true if the given identifier is a field group key.

No Hooks.

Returns

true|false.

Usage

acf_is_field_group_key( $id );
$id(string)
The identifier.
Default: ''

Changelog

Since 5.0.0 Introduced.

acf_is_field_group_key() code ACF 6.8.8

function acf_is_field_group_key( $id = '' ) {
	return acf_is_internal_post_type_key( $id, 'acf-field-group' );
}