Removes the features support for the post type.
File: wp-includes/class-wp-post-type.php
public function remove_supports() { global $_wp_post_type_features; unset( $_wp_post_type_features[ $this->name ] ); }
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_post_type/remove_supports