One of my members accidentally deleted his account. There should be some kind of confirmation with password or something before account is deleted. As it seems, it was just a click and it was gone. No way to restore it.
Â
Edit: is there a way to remove this option for users?
Â
Thanks
same issue ,Â
can this delete option to be in user setting not in user profile , with confirmation by password and warning , also it should be after confirmation go to specifice page url that we put as page of goodby for example , because when user delted his account he will go to participants page "users list"
we need url page to put in page some asking info for why ?
Â
if there are time untill completely delete to review his decide , will be greatÂ
I just had a user do the same thing of deleting an account by mistake. Can we please add a "confirm to delete" versus just a single delete click? This would be a good upgrade on the system. Thank you, Jason
Hi,
Use the hook code below to remove the option for users:Â
add_filter( 'wpforo_can_user_self_delete', '__return_false' );
Here’s a helpful article on safely adding custom code in WordPress: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/