Delete entries like posts when deleting user

Hi team,
Is it possible to delete all the entries that belong to this user when the admin deletes the user at the backend just like deleting the default Wordpress posts?

Hi,

Here is a snippet you can use to do that. I hope this helps.

Best,

3 Likes