Plugin Support
Darian
(@d0153)
Hi @mwlandof
Thank you for reaching out! I’d be happy to assist.
I tested this on a fresh site to try and replicate the issue, and everything appears to be working as expected. You can see this screenshot: https://share.zight.com/Kou2Kk9v
As a heads-up, any events or posts that are moved to the Trash will be permanently deleted if they remain there for more than 30 days.
@d0153 Thank you! that’s the case!!! If category is empty – there is no filter! I just made test event and erased it and it is there! 🙂
Can i set it up somehow that trash is not cleared on its own?
Plugin Support
Darian
(@d0153)
I’m glad it’s now working.
I’m not sure if it’s possible to completely disable the automatic clearing of the Trash or if it’s advisable. However, you can try extending the number of days before items are permanently deleted.
You can add the following line to your wp-config.php file:
define( 'EMPTY_TRASH_DAYS', 1000000 );
With this setting, posts or events will only be permanently deleted if they’ve been in the Trash for more than 1,000,000 days.
@d0153, that solution is enough! 🙂 thank you so much for great support! 🙂
Plugin Support
Darian
(@d0153)
Hi @mwlandof
Thanks for your confirmation and I’m glad that it is now working.
If you have a minute, a great review from you would be amazing!
https://wordpress.org/support/plugin/the-events-calendar/reviews/