User deletion upon denial should already be in place. Biggest question, at least for your case, is what’s preventing it from getting to that point.
https://github.com/WebDevStudios/BuddyPress-Registration-Options/blob/master/includes/admin.php#L180-L184
Aha, so it’s something up with my setup, I’ll look into it.
I set up a new install and only loaded Buddypress and BP Registration options, a new users registered and I denied him in BP Registration Options, I went to Users>>Pending and the user was there.
Now this is strange, one my original site where I noticed the issue I’ve just denied accesss and the user has deleted from WordPress, I’ll test this further
Out of curiosity, have you been translating the plugin via the pot file? I’m curious if that part is not matching like it needs to, and thus the if statements around the deletion aren’t firing like expected.
No I’m not translating it.
I’ve just tested it again on my minimal test install with just the two plugins running and I can confirm that it’s not deleting the WordPress user account, only moving it into pending.
I then tried the same on my fully loaded test system, the one it worked on before and again the test user had not been deleted from the WordPress pending list.
Something with the logic isn’t reaching the delete portion then, because the deletion is in place in the plugin itself. The question is where and why.