Empty WordPress trash automatically


/ Published in: PHP
Save to your folder(s)

add the following line in wp-config.php (7 = 7 days)


Copy this code and paste it in your HTML
  1. define(‘EMPTY_TRASH_DAYS’, 7);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.