acf_untrash_taxonomy()ACF 6.1

Restores an ACF taxonomy from the trash.

No Hooks.

Returns

true|false. True if taxonomy was untrashed.

Usage

acf_untrash_taxonomy( $id );
$id(int|string)
The taxonomy ID, key, or name.

Changelog

Since 6.1 Introduced.

acf_untrash_taxonomy() code ACF 6.8.8

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