Automatically Empty Trash


This plugin can be used Automatically Empty Trash after the number of days the user requires. User can set the number of days from which the trash should be automatically deleted in the plugin option in the Admin section.


  • Option to set number of days.
  • Automatically Empty Trash after number of days.

For more information please refer the screenshots.


  • screenshot-1 - Option to Configure number of days.
  • screenshot-2 - Moved menu under "Settings" Menu.


The Plugin can be installed in two ways.

Download and Install

  1. Download and upload the plugin files to the /wp-content/plugins/automatically-empty-trash directory from the WordPress plugin repository.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress admin.

Using Plugin Interface

  1. Open the plugin Interface in the wordpress admin and click on “Add new”.
  2. In the Search box enter “Automatically Empty Trash” and hit Enter.
  3. Click on “Install” to install the plugin.


Does Automatically Empty Trash plugin modify any file?

No! The plugin does not modify any of your WordPress files.

Is there any plugin dependency to install this plugin?

No! there is no other plugin required.

Does this plugin require any special permissions?

No! This plugin does not require any special permissions or settings.


June 5, 2020
Plugin kept giving message: Fatal error: Can't use function return value in write context in /homepages/28/d194094988/htdocs/wildswimming/wp-content/plugins/automatically-empty-trash/classes/class.empty.trash.php on line 17
Read all 1 review

Contributors & Developers

“Automatically Empty Trash” is open source software. The following people have contributed to this plugin.


“Automatically Empty Trash” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Automatically Empty Trash” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Minor fixes for compatibility latest version of WordPress


  • Minor fixes for compatibility with PHP 7.3 and latest version of WordPress


  • Moved menu from sidebar and added it under “Settings menu” (See screenshot 2).
  • Text/label changes for better understanding


  • Added template for settings page.