How to programmatically delete a display from a view
This is how you do it. It is how it is done in views_ui_edit_view_form_submit() when you delete a display via the admin UI:

unset($view-&gt;display[$display_name]);