acf_trash_taxonomy()ACF 6.1

Trashes an ACF taxonomy.

Хуков нет.

Возвращает

true|false. True if taxonomy was trashed.

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

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

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

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

Код acf_trash_taxonomy() ACF 6.4.2

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