WP_Post_Type::remove_supports()

Removes the features support for the post type.


Source

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

public function remove_supports() {
	global $_wp_post_type_features;

	unset( $_wp_post_type_features[ $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.