Live Chat 07493741816 Login To Client Area
Table of Contents
How To Make WordPress Empty Trash After A Number Of Days
- Log in to cPanel.
- Click File Manager in Quick Shortcuts
- Double click public_html
- Locate the file wp-config.php, Right Click, and press edit.
- Press Edit again
- Add the following line where we have written paste here
define( ‘EMPTY_TRASH_DAYS’, 5 );
Change the number “5” to how many days you’d like WordPress to empty the trash