acf_untrash_taxonomy()
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() acf untrash taxonomy code ACF 6.8.8
function acf_untrash_taxonomy( $id = 0 ) {
return acf_untrash_internal_post_type( $id, 'acf-taxonomy' );
}