Hi Hassan,
Thanks for reaching out! I’m not 100% sure what you’re referring to here…are you looking to automatically clean up past events? This is not something that comes out of the box, but you can use a third-party plugin, such as Post Expirator, to set dates for events to be automatically deleted on.
For recurring events, you can use the “Clean up recurring events after” setting under Events > Settings > General to automatically delete past instances after a certain period of time.
Let me know if you have any questions!
Thanks,
Jennifer