WP_Post_Type::unregister_taxonomies

Advertisement

Summery Summery

Removes the post type from all taxonomies.

Syntax Syntax

WP_Post_Type::unregister_taxonomies()

Source Source

File: wp-includes/class-wp-post-type.php

	 * @since 4.6.0
	 */
	public function unregister_taxonomies() {
		foreach ( get_object_taxonomies( $this->name ) as $taxonomy ) {
			unregister_taxonomy_for_object_type( $taxonomy, $this->name );

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?