I will try to do a more complete answer :
If you want to remove all the content editor
The @Oleg Butuzov answer is good :
add_action('init', 'init_remove_support',100);
function init_remove_support(){
$post_type = 'your post type';
remove_post_type_support( $post_type, 'editor');
}
If you want only disable tinymce but let html toolbars
The @biziclop answer is good :
add_filter('user_can_richedit', function( $default ){
global $post;
if( $post->post_type === 'product') return false;
return $default;
});
In this case wp-content-editor-tools
is already visible because expand-editor.js insert toolbars.
If you want to replace the tinymce editor by a simple textarea
I found the answer here.
function wpse_199918_wp_editor_settings( $settings, $editor_id ) {
if ( $editor_id === 'content' && get_current_screen()->post_type === 'custom_post_type' ) {
$settings['tinymce'] = false;
$settings['quicktags'] = false;
$settings['media_buttons'] = false;
}
return $settings;
}
add_filter( 'wp_editor_settings', 'wpse_199918_wp_editor_settings', 10, 2 );