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.

Хуков нет.

Возвращает

true|false.

Использование

acf_is_field_group_key( $id );
$id(строка)
The identifier.
По умолчанию: ''

Список изменений

С версии 5.0.0 Введена.

Код acf_is_field_group_key() ACF 6.4.2

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