WordPress Version: 6.1
/**
* Removes support for a feature from a post type.
*
* @since 3.0.0
*
* @global array $_wp_post_type_features
*
* @param string $post_type The post type for which to remove the feature.
* @param string $feature The feature being removed.
*/
function remove_post_type_support($post_type, $feature)
{
global $_wp_post_type_features;
unset($_wp_post_type_features[$post_type][$feature]);
}