Copying privilleges of existing user to a new user.

I’m doing a migration of sso on my website, as a result a very few of the user accounts which were created long back ago are not acting as expected. Duplicate accounts are being created for these few accounts which are in old format. Since these are only few accounts, i decided to migrate the old account’s privilleges and content (literally anything attributed to the old account) to the new one.

The only issue is that I cannot do it like on a normal wordpress website as the delete the account and transfer privillege option is not available on the wp admin dashboard for me as mine is a highly customised website. How do we transfer the privilleges from the backend using wp cli ?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer