BP Confirm Actions plugin is a tiny plugin which helps you to make your social network more usable.
The BP Confirm Actions plugin does following:-
- Ask for confirmation when cancel friendship is clicked
- Asks for confirmation when leave group is clicked
- Asks for confirmation when unfollow button is clicked(if you have this plugin http://wordpress.org/extend/plugins/buddypress-follow-me/ installed)
The source code for this plugin is available on github.
Gtihub link:- https://github.com/sbrajesh/bp-confirm-actions
For more details, why not read this post : https://buddydev.com/buddypress/bp-confirm-actions-ask-users-to-confirm-the-cancel-friendshipleave-group-actions/