acf_filter_taxonomies()ACF 6.1

Returns a filtered array of ACF taxonomies based on the given $args.

Хуков нет.

Возвращает

Массив.

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

acf_filter_taxonomies( $taxonomies, $args );
$taxonomies(массив) (обязательный)
An array of ACF taxonomies.
$args(массив)
An array of args to filter by.
По умолчанию: array()

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

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

Код acf_filter_taxonomies() ACF 6.4.2

function acf_filter_taxonomies( array $taxonomies, array $args = array() ) {
	return acf_filter_internal_post_type_posts( $taxonomies, $args, 'acf-taxonomy' );
}