unregister_taxonomy
unregister_taxonomy ( $taxonomy )
Parameters:- (string) taxonomy Taxonomy name.
Returns:- (true|WP_Error) True on success, WP_Error on failure or if the taxonomy doesn't exist.
Defined at: - Introduced in WordPress: 4.5.0
- Deprecated in WordPress: —
Description
Unregisters a taxonomy.Can not be used to unregister built-in taxonomies.