WP_Post_Type::unregister_taxonomies()

Removes the post type from all taxonomies.


Source

File: wp-includes/class-wp-post-type.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.