Media Trash Button

Plugin Banner

Media Trash Button

by Katsushi Kawamori

Download
Description

Add trash button for Media Library.

Add button

  • List view only.

Button

  • All media items
  • View Trash

In wp-config.php, Add the following one line.

define( 'MEDIA_TRASH', true );
  1. Upload media-trash-button directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  1. Media Library

    Media Library

  2. Trash

    Trash

none

perfect

By mi6telefon on September 11, 2021

Thanks Katsushi Kawamori perfect plugin.I'm happy 🙂

Love it

By bexpearl on January 12, 2021

I deleted an image but was unable to save another image in the same name as the deleted image because it was in the trash. I used this plugin and I was able to permanently delete the trashed image and save my new image. I love this plugin. Thanks to the developers.

Convenient and useful

By eugene212 on October 12, 2020

It might be just a small plugin, but it helps to (easily) get rid of accumulated 'trash' media files directly from WP admin panel (standard WP does not expose these files for permanent removal).

[1.04] 2025/04/18

  • Fix – Loading the management screen.

1.03

Supported WordPress 6.4.
PHP 8.0 is now required.

1.02

Supported WordPress 5.6.

1.01

Made it list view only.

1.00

Initial release.

Back to top