How to synchronize roles on all sites of the Multisite Network if roles were changed on main site?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
There's an action hook in the It's a matter of detecting if this is happening in the main site, and, if it does, get all blogs of the user and change all roles. More details in code comments.
I didn't know that, but the user ID remains the same across the network, in the tables |
||||
|
|