Core Function
View Source on Trac ↗ unregister_taxonomy()
unregister_taxonomy( mixed $taxonomy ) Unregisters a taxonomy.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $taxonomy string | Taxonomy name. Required |
Return Value
((true)
| WP_Error) True on success, WP_Error on failure or if the taxonomy doesn't exist.
Function Information
Since Version
4.5.0
Source File
wp-includes/taxonomy.php
Advertisement