Media Trash Button


Add trash button for Media Library.

Add button

  • List view only.


  • All media items
  • View Trash

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

define( 'MEDIA_TRASH', true );


  • Media Library
  • Trash


  1. Upload media-trash-button directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Perguntas frequentes



11 Setembro, 2021
Thanks Katsushi Kawamori perfect plugin.I'm happy 🙂
12 Janeiro, 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.
12 Outubro, 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).
Ler todas as 3 avaliações

Contribuidores e programadores

“Media Trash Button” é software de código aberto. As seguintes pessoas contribuíram para este plugin:


“Media Trash Button” foi traduzido para 2 locales. Obrigado aos tradutores pelas suas contribuições.

Traduza o “Media Trash Button” para o seu idioma.

Interessado no desenvolvimento?

Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.

Registo de alterações


Supported WordPress 5.6.


Made it list view only.


Initial release.