{"id":14779,"date":"2025-11-03T11:44:26","date_gmt":"2025-11-03T16:44:26","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=14779"},"modified":"2025-11-18T09:23:05","modified_gmt":"2025-11-18T14:23:05","slug":"how-to-delete-media-files","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/userguide\/media\/how-to-delete-media-files\/","title":{"rendered":"How to Delete Media Files"},"content":{"rendered":"<h2>Maintain a Clean Media Library<\/h2>\n<p>Regularly review your Media Library to remove duplicates, unused files, or expired content. A tidy library improves site speed and makes it easier for editors to find assets.<\/p>\n<p>Once deleted, a media file <strong>cannot be recovered<\/strong>. If the file was linked or embedded on any page, those links will break.<\/p>\n<hr  style=\"margin:40px 0\"class=\" rule-thin osc-rule\" \/>\n<h2>How to Delete a Media File<\/h2>\n<h3>Option 1: Delete a Single File<\/h3>\n<ol>\n<li>In your WordPress dashboard, click on the <strong>Media<\/strong> link.<\/li>\n<li>From the <strong>List View<\/strong>:\n<ol>\n<li>Hover over the file you want to remove.<\/li>\n<li>Click <strong>Delete Permanently<\/strong>.<\/li>\n<li>Confirm the deletion when prompted.<\/li>\n<\/ol>\n<\/li>\n<li>From the Grid View:\n<ol>\n<li>Click on the file you wish to delete. This will bring up the <strong>Attachment Details<\/strong> panel.<\/li>\n<li>Click the <strong>Delete Permanently<\/strong> link.<\/li>\n<li>Confirm the deletion when prompted.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3>Option 2: Delete Multiple Files<\/h3>\n<ol>\n<li>In your WordPress dashboard, click on the <strong>Media<\/strong> link.<\/li>\n<li>Switch to <strong>List View<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14781\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/11\/media-library-list-view.png\" alt=\"The two media library icons for grid and list view - showing the list view is active.\" width=\"68\" height=\"35\" \/>.<\/li>\n<li>Use the checkboxes beside each file to select multiple items.<\/li>\n<li>From the <strong>Bulk Actions<\/strong> dropdown menu, select <strong>Delete Permanently<\/strong>.<\/li>\n<li>Click <strong>Apply<\/strong>.<\/li>\n<li>Confirm the deletion when prompted.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maintain a Clean Media Library Regularly review your Media Library to remove duplicates, unused files, or expired content. A tidy library improves site speed and makes it easier for editors to find assets. Once deleted, a media file cannot be recovered. If the file was linked or embedded on any page, those links will break. &hellip; <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/media\/how-to-delete-media-files\/\" aria-label=\"Read more about How to Delete Media Files\">Read more<\/a><\/p>\n","protected":false},"author":3206,"featured_media":0,"parent":2216,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"layout":"","cellInformation":"","apiCallInformation":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-14779","page","type-page","status-publish","hentry","odd"],"acf":[],"_links_to":[],"_links_to_target":[],"_links":{"self":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/14779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/users\/3206"}],"replies":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/comments?post=14779"}],"version-history":[{"count":2,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/14779\/revisions"}],"predecessor-version":[{"id":14786,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/14779\/revisions\/14786"}],"up":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/2216"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=14779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}