Remove thumbnail support from a specific post type

Adding this snippet to the functions.php of your wordpress theme will remove thumbnail support from a specific post type. Change POST_TYPE text to either a custom post type name or post, page to remove support for thumbnails.

 

add_action('init','remove_thumbnail_support');
function remove_thumbnail_support(){
remove_post_type_support('POST_TYPE','thumbnail');
}

Leave a comment