Run add_user_to_blog()
after user creation.
You can hook on user_register()
to get newly created user ID and pass it and any conditional assignments to your callback that runs add_user_to_blog()
.
Related Posts:
- 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?
- Is there a is_user_logged_in() for multisite?
- WordPress Multisite allow site admin to add user without email confirmation
- wordpress multisite, how to keep user on subdomain throughout registration process?
- Network not displaying all sites and users
- How to use alias domain for multisite installation?
- Give to site admin the option to “skip confirmation email” when adding new user
- Different back-end colour scheme for the different sites of a multisite
- Set up collaborative site
- How does WordPress connect sites and the wp_users table?
- Prevent user creating new users with specific roles
- Allowing logged in users to comment without moderation across a multisite installation
- Can you have multi-site WP and keep users separate?
- How to add multiple existing users to a multisite site?
- the blog owner multisite
- 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
- Can I use multisite functions in a single-site installation?
- How to add edit users capability to a custom role?
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- In MultiSite, can some users automatically have Site Admin rights on all sites, without granting them Network Admin access?
- How can I delete a user from entire multisite nework
- delete_user_meta : how to delete all the metadata of a given user (witout SQL)
- How to search users globally on a multisite install?
- 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
- Displaying a message upon user registration
- Query users by capability – uninstall/deactivate callback
- How to change user starting role in WordPress MultiSite?
- Multisite – One user allowed access to all sites?
- Add a user to a specific blog when they register?
- How do you disable account activation in WPMU and then log the user in right away?
- Four columns in the wp_users table
- Good way to block users within a multisite setup without deleting them?
- Subsite access without being a member of the subsite in wp multisite network
- Create Custom Multisite User Role to Reduce Capabilities
- Obtaining user table for one site on multisite set up
- WordPress stuck in deleting user
- How to display users with posts published between two dates (Sorted by Post-Count) [Multisite]
- Get users registered 30 days ago(or more)
- 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 To Disable Add new users On Subsites In Multisite?
- Wait ajax to complete before continue loop
- Delete user from multisite when removed from subsite
- Combining user database tables while keeping all other data in seperate for multiple sites?
- How to fix that new users show up again in subsite of a Multisite?
- How to delete user from MU site when the user is removed from their site?
- WordPress Multisite Add User
- Sharing users across multiple sites, each on their own database
- 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
- 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
- How to use the same users table on multiple wordpress sites
- Easily adding multiple existing users to a multisite site
- Possible to have duplicate usernames on different two multisites
- Multisite – each site with it’s own set of users
- Modify new user email notification in network admin screen wp multisite
- Users getting linked unwanted to main mu in WordPress multisite (WPMU)
- Multisite – site user limited only for this site
- Can’t activate a user on multisite install
- Importing Posts into New Website with Same User ID’s
- WordPress automatic Login on other page?
- A different role for each site in a multisite
- Is Multisite the RIGHT option for my case?
- Should I use MultiSite for a subdomain based wp site?
- Multisite “Skip Confirmation Email” Log Out Problem
- Get current user outside of WordPress Multisite
- How to create child/sub user under parent user
- How create a multisite setup with “phantom” accounts and passwords?
- WordPress MU users – how are they organized?
- Is there any way to give all users access to one blog in a multisite network without using a plugin?
- Redirect authors from upload.php url to Home page in Multisite
- WordPress multi user registration sites
- Using a number for limiting registering or banning on multisite
- Unsure of my options, Multi-blog?
- WordPress Multisite (Network) some site users added to main site users list as subscriber
- WordPress Multisite restict user access
- Multisite Login Access Restrictions
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering
- Setting up a wordpress network with third level domains
- Multisite posts in categories on network
- find a random blogid across my multisite network that has at least one post published
- Multiple sites that share some pages, but not others
- Retrieve taxonomies from arbitrary site
- Child Site doesn’t appear in the Network menu
- Can I use WP to create a multisite importing the posts of 3 old WP website?
- multisite – unable to connect to network administration
- WordPress multisite and one database