For our customization want to remove text editor for custom post type then place the following snippet in functions.php within your theme folder!.

function remove_text_editor_custom_post_type() {
    remove_post_type_support( 'post_type_name', 'editor' );
}
add_action('init', 'remove_text_editor_custom_post_type');

Have any doubt, then comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *