https://sangkrit.net/automatically-empty-the-trash/
How To Set WordPress To Automatically Empty The Trash ?