unregister_taxonomy( string $taxonomy )
Unregisters a taxonomy.
Description
Can not be used to unregister built-in taxonomies.
Parameters
- $taxonomy
-
(Required) Taxonomy name.
Return
(true|WP_Error) True on success, WP_Error on failure or if the taxonomy doesn't exist.
Source
File: wp-includes/taxonomy.php
Changelog
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |