Oct 30, 2024 2:50 pm
Hello,
Is there a way to be notified by email (administrator ou webmaster) or otherwise when a member delete its account?
Β
We had nicknames: anonymous and messages that disappeared in foro.
Β
Apparently he deleted its account (it took a long search to find it) in one click.
Β
Thank you very much.
3 Replies
Oct 31, 2024 10:41 am
Hi
You can setΒ [Hard delete]Β option to let users delete all their data as well:
Β
The doc:Β https://wpforo.com/docs/wpforo-v2/settings/login-registration/#user-delete-method
If you want to remove the option for users to delete their accounts, use the hook code below:
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/