To speed up the task and reduce personal intervention, there is a small hack which allows us to empty the trash automatically without having to do it manually each time.
- Login to your FTP and Download wp-config.php file and edit it.
- Add below code in it
- Save the file and upload it back.
In the above command, the digit 5 states that for every 5 days, the trash need to be deleted. Replace the number with the number of days you desire.
Note: You can also open the wp-config.php file direct by logging into your control panel and edit it.
Categories:
Internet
,
Latest News
,
Tricks
,
Wordpress