I’d try this with two steps.
First, install the Multisite User Plugin or grab the useful bits from its code. Short version: It hooks into user_register
and loops through each blog in a multisite, adding the user to each one with a preset role. Handy.
Second, use wp-cli to import a CSV of users:
wp user import-csv /path/to/users.csv
By default, this will not email users. If you want it to email users, add --send-email
to the command.
Not having actually done this, I’m not sure if WordPress is going to try to send 19 emails to each user when they’re added to each network site. There are plenty of email blocking plugins out there that you could engage for the import, just in case.
Related Posts:
- Four columns in the wp_users table
- WordPress Multisite allow site admin to add user without email confirmation
- wordpress multisite, how to keep user on subdomain throughout registration process?
- Prevent user creating new users with specific roles
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- Displaying a message upon user registration
- Add a user to a specific blog when they register?
- How to fix that new users show up again in subsite of a Multisite?
- Easily adding multiple existing users to a multisite site
- Possible to have duplicate usernames on different two multisites
- Modify new user email notification in network admin screen wp multisite
- Users getting linked unwanted to main mu in WordPress multisite (WPMU)
- Can’t activate a user on multisite install
- A different role for each site in a multisite
- Multisite “Skip Confirmation Email” Log Out Problem
- Using a number for limiting registering or banning on multisite
- How To Add Custom Form Fields To The User Profile Page?
- Why are my roles not visible in a Multi-site/Network?
- How to use same email for multiple users
- Where can I find documentation on what characters are allowed in user names and why?
- How can I un-reserve a pending username registration?
- Add WordPress MU Network Admin via Database
- WordPress Multisite – When a user signs-up on main site, how to add the user to a subsite
- How to use alias domain for multisite installation?
- Different back-end colour scheme for the different sites of a multisite
- Remove Site Name from register form – Multisite
- Set up collaborative site
- Integrating WordPress to my website, while keeping my own authentication system
- How does WordPress connect sites and the wp_users table?
- Is there a wordpress function to cleanly delete an entry in the signups table?
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- Can I manage more wordpress sites with one wordpress administrator page? [closed]
- Add menu page on multisite
- How to get the site administrator/s by blog id
- How can I get multisite primary blog (url or path) for current user?
- Why can’t I delete original user in multisite? Options for manual removal
- In MultiSite, can some users automatically have Site Admin rights on all sites, without granting them Network Admin access?
- Disable domain redirect
- Update User Role Across Network when Main Site User is Updated
- Assign role to user on first login, if they are first (after admin)
- Get the User ID Who Owns a Given Blog ID in Multisite
- Make a user administrator to a sub directory site and a contributor to main site in multisite network
- How to change user starting role in WordPress MultiSite?
- Multisite – One user allowed access to all sites?
- How do you disable account activation in WPMU and then log the user in right away?
- Unable to apply theme to WordPress Network Site install
- How can I automatically duplicate a site’s pages onto network site?
- Multisite – user email activation links broken
- WordPress Multisite dashboards redirect to homepage
- WP MU Register User across all blogs
- Limit entries number on network/sites.php
- Multisite User cannot access dashboard
- Create Custom Multisite User Role to Reduce Capabilities
- Obtaining user table for one site on multisite set up
- How to display users with posts published between two dates (Sorted by Post-Count) [Multisite]
- Get users registered 30 days ago(or more)
- Site’s admin created with wpmu_create_blog accessible only on 2nd attempt
- Bulk Move Users from one site to another within a network ( Multisite )
- WordPress Multisite – Load users using custom query
- Copy user role on multisite so the user can access subsites with same role
- How do I check if the user is a site owner in a network?
- How To Disable Add new users On Subsites In Multisite?
- MultiSite: new Sites not showing up
- Wait ajax to complete before continue loop
- How to delete user from MU site when the user is removed from their site?
- Customize or avoid new admin email address notification
- How to share User Database between Two Multisite Installations + More
- Using Same User Database on Subdomain
- How to get the blogs owned by a user?
- How to redirect user after session timeout
- How to automate setup of theme, pages, widgets, etc for a new site in multi-site?
- Multisite ‘Welcome User Email’ SITE_NAME returns ‘network’ name, not the name of the blog
- can’t create user without email for an author after converting single site to multisite
- Restrict users of site 1 to login in site 2 in wordpress multisite
- “My Sites” incorrectly showing all network sites for all logged in users
- Function to Load Admin CSS for Super Admin on Multisite
- User registration on wordpress multisite
- How to use the same users table on multiple wordpress sites
- Admin users not able to see network menus
- allow multisite in the installation process
- Activate User account for Sub Site broken
- How to auto create site after user sign up on multisite(network)
- WordPress Multisite FQDN Admin Access
- How to create 30 new sites from an export of a master site?
- Get current user outside of WordPress Multisite
- Multisite – User creation for second site from first site?
- How to create child/sub user under parent user
- WordPress MU users – how are they organized?
- Possible to set new user’s site time zone at user creation using Gravity Forms?
- Is there any way to give all users access to one blog in a multisite network without using a plugin?
- Pages redirect me to the homepage
- multisite registration: check existing subdomains while typing
- Redirect authors from upload.php url to Home page in Multisite
- Registration Page
- Have users created automatically when a network site is created
- Can admins on network install view and edit users accounts?
- How to use same email for multiple users? [duplicate]
- Unsure of my options, Multi-blog?
- WordPress Multisite (Network) some site users added to main site users list as subscriber
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering