Delete User

  bp_core_delete_account($UserId);    //<Note this will only work if the user carrying out the delete has the necessary permissions. Use wp_delete_user if not
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published. Required fields are marked *