Step 1: Log in to cPanel.
Step 2: Click on the ‘File Manager’ from the Files section of the cPanel home screen.
Step 3: Navigate to the directory where WordPress is installed.
Step 4: Add the following line in the snippet to the wp-config.php file. Kindly replace ‘number-of-days’ with the number of days you want WordPress to retain items marked as trash before it deletes them permanently.
+++
define( ‘EMPTY_TRASH_DAYS’, number-of-days );
+++
Step 5: Click Save Changes.
Click here to view this article as Oryon knowledge base video tutorial playlist.