acf_trash_taxonomy()
Trashes an ACF taxonomy.
No Hooks.
Returns
true|false. True if taxonomy was trashed.
Usage
acf_trash_taxonomy( $id );
- $id(int|string)
- The taxonomy ID, key, or name.
Changelog
| Since 6.1 | Introduced. |
acf_trash_taxonomy() acf trash taxonomy code ACF 6.8.8
function acf_trash_taxonomy( $id = 0 ) {
return acf_trash_internal_post_type( $id, 'acf-taxonomy' );
}