WP_Post_Type::remove_supports()

Removes the features support for the post type.


Source

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

	public function remove_supports() {
		global $_wp_post_type_features;

		unset( $_wp_post_type_features[ $this->name ] );
	}

Changelog

Changelog
Version Description
WP-4.6.0 Introduced.