![Share on Facebook Facebook](https://www.rootlinks.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.rootlinks.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share by email mail](https://www.rootlinks.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
WordPress 2.9から追加されたゴミ箱機能ですが、デフォルトではゴミ箱に移動してから30日経過で削除されます。
ゴミ箱のステータス
https://wpdocs.osdn.jp/ゴミ箱のステータス
How to Automatically Empty Your WordPress Trash
http://www.wpbeginner.com/wp-tutorials/how-to-automatically-empty-your-wordpress-trash
WordPress設定ファイルのwp-config.phpに下記の行を追加します。
1 |
define('EMPTY_TRASH_DAYS', 7 ); |
数字は日で上記では7日を経過すると削除されます。