remove_post_type_support() – Remove support for a feature from a post type.
You appear to be a bot. Output may be restricted
Description
Remove support for a feature from a post type.
Usage
remove_post_type_support( $post_type, $feature );
Parameters
- $post_type
- ( string ) required – The post type for which to remove the feature.
- $feature
- ( string ) required – The feature being removed.
Returns
void
Source
File name: wordpress/wp-includes/post.php
Lines:
1 to 5 of 5
function remove_post_type_support( $post_type, $feature ) { global $_wp_post_type_features; unset( $_wp_post_type_features[ $post_type ][ $feature ] ); }