acf_untrash_taxonomy()ACF 6.1

Restores an ACF taxonomy from the trash.

Хуков нет.

Возвращает

boolean. True if taxonomy was untrashed.

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

acf_untrash_taxonomy( $id );
$id(int|строка)
The taxonomy ID, key, or name.

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

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

Код acf_untrash_taxonomy() ACF 6.8.8

function acf_untrash_taxonomy( $id = 0 ) {
	return acf_untrash_internal_post_type( $id, 'acf-taxonomy' );
}