Emptying the recycle bin in wordpress

PHOTO EMBED

Tue Jul 05 2022 17:44:08 GMT+0000 (UTC)

Saved by @satinbest #php

define('EMPTY_TRASH_DAYS', 7);
define('EMPTY_TRASH_DAYS', 0);
content_copyCOPY

When deleting an item in WordPress, it goes to the Trash. Basically, it will stay there for 30 days but it is possible to change this figure (for example 7). It is also possible to deactivate this recycle bin by putting the number 0.