unregister_taxonomy


unregister_taxonomy ( $taxonomy )

Parameters:
  • (string) $taxonomy Taxonomy name.
Returns:
  • (bool|WP_Error) True on success, WP_Error on failure or if the taxonomy doesn't exist.
Defined at:

Description

Unregisters a taxonomy.

Can not be used to unregister built-in taxonomies.

Related Functions

register_taxonomy, unregister_meta_key, is_taxonomy, get_taxonomy, unregister_taxonomy_for_object_type

Top Google Results

User discussions

wpseek mobile