title: Wordpress hide new editor in specific pages
body: <p>I used to use the following code to hide the admin editor in specific pages.  </p>
  
  <pre><code>function hide_editor() {
  
      global $post;
  
      if ( is_admin() &amp;&amp; !empty($post) ) {
          $id = $post-&gt;ID;
          $pages_id = array(ID_PAGE_BLOG, ID_PAGE_SITEMAP, ID_PAGE_CONTACT);
  
          if( in_array($id, $pages_id) ) {
              remove_post_type_support('page', 'editor');
          }
      }
  }
  add_action( 'admin_head', 'hide_editor' );
  </code></pre>
  
  <p>Unfortunately, it doesn't work anymore since the new WP editor release.<br>
  Is there any solution, which do not compel me to switch to the basic editor, using a plugin?</p>