Add the site's name as prefix when adding new users? Multisite
I have a multisite network, where the admins of each site are able to add users to their site. My problem is that if they select the same username it will not work.
So I am thinking if it is possible to save the Username field with a prefix. Say the admin adds a user called johndoe
to a site called mysite
then the user should be saved as mysite-johndoe
.
Would this be possible to achieve?
I am talking about the Users->Add New User in the backend.
Hope there is a way to do this! Either with PHP or jQuery?
Topic multisite-user-management multisite customization Wordpress
Category Web