Is there a way to remove or hide individual pages on the Edit Pages screen?

Indeed there is a way.

function wpa53074_admin_exclude_page( $query ) {
    if( !is_admin() )
        return $query;

    global $pagenow;
    if( 'edit.php' == $pagenow && 'page' == get_query_var( 'post_type' ) )
        $query->set( 'post__not_in', array( 99 ) ); // <- page ID to hide

    return $query;
}
add_action( 'pre_get_posts', 'wpa53074_admin_exclude_page' );

Leave a Comment