Generally speaking I agree with most of the other answers but, if for some reason you really had to merge two accounts here is how that could work.
Merging User-B into User-A
- Reassign all of User-B’s content to User-A
- Determine the highest privilege of User-B
- If higher than the privileges of User-A elevate User-A’s privileges else do nothing.
- If you have extended the WordPress’s native users account you’ll want to add that logic here too.
- Delete User-B and do some clean up.
Related Posts:
- User-edit role setting distinct from wp_capabilities? [closed]
- Delete all subscribers from wp_users and wp_usermeta a few thousand at a time
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- What the user_status column?
- Hide Admin Menu for Specific User ID who has administrator Role
- Problem with Hebrew characters in username
- Allowing an email as the username?
- Get the name of user who updated post
- Disable delete user
- Display edit link if post author is current user
- Change user’s display name programmatically
- Do not allow users to create new posts and pages
- Send activation email to user after signup [duplicate]
- wp_update_user() does not update user_data
- Sort get_users by custom field
- How to add follow functionality to multi-author wordpress site?
- Search multiple meta keys at once
- Get user input from a form
- Redirecting user after updating profile?
- How to add new custom field in default add user form through plugin
- How to add wordpress username after url?
- ACF Upload Image in front-end with custom form
- User fields that can be edited by administrator?
- Admins can’t edit each other’s posts
- Update user_login to change username
- Why i getting blank user_activation_key in get_user_by( ‘login’, $login ) function?
- Multiple authors with different “author roles”
- Exclude subscriber users from user list
- Can’t add users in admin after copying database
- How can I check if a user’s email exists in the database
- Getting users by specific capability, not role
- Creating user in Firebase after WordPress user registration
- Exclude admin from user list
- How to display total number of post done by user, it should display at authors page wordpress [duplicate]
- When I try to login in wordpress it is showing “USER Doesn’t Exists”
- Can i add password field into my wp registration form?
- User capability for editing their own comments
- Delete User via Frontend
- how to get WordPress admin user table columns name in my plugin
- Allow Contributors to Upload Files
- Limit a number of users returned from sorting users by latest posts function
- Will wordpress tools import do everything I need to copy one site to another
- Create Next and Previous Link to User orderby Last Name
- OAuth 2 and saving the authenticated user
- Accessing current users data within a plugin
- Spam users registers even when registration is disabled
- How to notify specific users when i’m posting/modifying a new post
- Limitations when adding new users
- User description only displayed for logged user
- Get an array of all users of a custom role type to send an email notification on post update
- Allow users to create post without logging in?
- How to get the count
- WordPress Password security related questions
- How to make Users sort in reverse order by default?
- Assign random (and unique) user meta upon registration
- How do you manage your pages or functions that require logged-in users?
- How to get ID of Edit User page during wp_handle_upload_prefilter, whilst in Media picker?
- What is correct way to change user’s email?
- Display the line breaks in user bio without using html
- Querying specific table row by current user login
- Get registered user’s country or IP
- How to make current user’s avatar + display name link to their profile?
- Import users once a day without a plugin
- Custom capability for a single user
- wp_dropdown_users() to include null value
- Adding more fields to the add user page on dashboard
- Change User Role based on Point System Issue
- Remove users access to dashboard
- Allow users to upload flash videos?
- Allow Weak Passwords
- Need to use WordPress page as authentication for different service
- How can I clone a suscriber profile in wordpress
- Reading additional fields in PMPro
- How to put the ‘assign to new user’ select when you delete a user that has custom post type posts, but no normal posts
- How can I show a button in WordPress but make it unclickable unless logged in?
- How to display extra fields for user
- How to make WordPress ‘editor’ role to list/view/add/edit users only with the role ‘author’?
- wordpress Account Management generate password missing on my laptop
- How to make custom user profile page public?
- Disable emails for new user registration
- Query for post term that matches user ID
- User Role not showing in Users Screen
- Change user URL
- User email verification without a plugin, is it possible?
- Deleting anonymous wp_users function not working?
- List all users based on array of domains
- Add method for tracking who referred new users
- Resend user activation mail
- User count only for role frontend vendor
- Changing user_login ends current session
- Does WordPress Need BuddyPress to Handle Large Amounts of Users?
- Using and saving custom dropdown boxes on user profiles
- Giving users an editable homepage/business directory
- Buddypress – New user type with no profile and can’t interact but can be admin of a group
- How to create front-end (editable) WordPress user profile pages?
- Store subscription details for users in WordPress
- Disable editing profile for second time
- No one can edit post/pages by Administrator
- How to add custom detail page for a Subscriber at Admin Panel
- Wordpres password as plain text in email