The following snippet of code will remove the content editor box from a specific custom post type.



/* This will remove the content editor box from the custom post type called "the_post_type" */
add_action( 'init', function() {
    remove_post_type_support( 'the_post_type', 'editor' );
}, 99);

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.