10
votes
1answer
282 views

How do I programatically empty trash?

I need to create an "Empty Trash" button inside my plugin. How would I do it using PHP code?