How to select a page within admin?

How does one apply an action to one particular page within admin?

I’ve added a bunch of wysiwyg editors to one page (“Home”) and now I don’t need the main editor. But the function below – of course – removes the editor from all pages:

Read More
function remove_editor_from_home_page() {

  remove_post_type_support( 'page', 'editor' );
}

add_action( 'init', 'remove_editor_from_home_page' );

How can I target the Home page within admin by name – “Home” – or by page_id?

This other WPSE answer doesn’t want to work for me:
Target a certain page within wordpress backend

Related posts

Leave a Reply

1 comment

  1. add_action( 'add_meta_boxes_page', 'wpse_57924_remove_editor' );
    function wpse_57924_remove_editor( $post )
    {
        if ( $post->ID == get_option( 'page_on_front' ) /* or hardcode ID if not front page */ )
            remove_post_type_support( 'page', 'editor' );
    }