WordPress at a glance
function is not described

WP_Post_Type::unregister_taxonomies() public WP 4.6.0

Removes the post type from all taxonomies.

{} It's a method of the class: WP_Post_Type{}

No Hooks.

Return

````. Null. Nothing.

Usage

$WP_Post_Type = new WP_Post_Type();
$WP_Post_Type->unregister_taxonomies();

Changelog

Since 4.6.0 Introduced.

Code of WP_Post_Type::unregister_taxonomies() WP 5.7

<?php
public function unregister_taxonomies() {
	foreach ( get_object_taxonomies( $this->name ) as $taxonomy ) {
		unregister_taxonomy_for_object_type( $taxonomy, $this->name );
	}
}