WP_Post_Type::unregister_taxonomies()
Removes the post type from all taxonomies.
Description Description
Source Source
File: wp-includes/class-wp-post-type.php
public function unregister_taxonomies() { foreach ( get_object_taxonomies( $this->name ) as $taxonomy ) { unregister_taxonomy_for_object_type( $taxonomy, $this->name ); } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |