acf_delete_taxonomy()ACF 6.1

Deletes an ACF taxonomy from the database.

Хуков нет.

Возвращает

boolean. True if taxonomy was deleted.

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

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

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

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

Код acf_delete_taxonomy() ACF 6.8.8

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