acf_filter_field_groups()ACF 5.0.0

acf_filter_field_groups

Returns a filtered aray of field groups based on the given $args.

Хуков нет.

Возвращает

Массив.

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

acf_filter_field_groups( $field_groups, $args );
$field_groups(массив) (обязательный)
An array of field groups.
$args(массив)
An array of location args.
По умолчанию: array()

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

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

Код acf_filter_field_groups() ACF 6.4.2

function acf_filter_field_groups( $field_groups, $args = array() ) {
	return acf_filter_internal_post_type_posts( $field_groups, $args, 'acf-field-group' );
}