There’s one called added_existing_user
that fires immediately after adding an existing user.
Digging a little deeper, I find the function add_user_to_blog()
is used by both add_new_user_to_blog()
and add_existing_user_to_blog()
, and has an action hook named add_user_to_blog
. I’d look into using that last hook, if I wanted to ensure something happened when a user was added to a site, whether they were _new_
or _existing_
.
Related Posts:
- Allow user to select a theme to install when they signup
- What’s the difference between get_site_option and get_blog_option?
- Basic Multisite Question – Managing Content Centrally
- multisite 404 error for subdirectory
- How to hide or remove unwanted widgets on Multisite installation?
- Is there an easy way to separate themes on network?
- How to use WordPress multisite with mixed HTTP and HTTPS sites?
- Multisite with Different Domains
- Weird Issue with load balanced WP 3.0 setup
- Removing orphan users in WordPress Multisite
- Sharding BLOGUPLOADDIR
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- Redirect to a Plugin Settings Page After Multisite Site Creation?
- WordPress Multisite – Multiple subfolders for blogs
- Uploading/Deploying a Multi Site Install
- Hook filter to change wp_upload_dir() path in multisite
- How does wordpress multisite manage subdomains?
- Error 101 after upgrading WordPress
- Copy posts from one blog to another in multisite environment
- SSL for mapped subdomains in multisite (no plugins)
- How to add new sites and map a custom domain in WordPress Multisite?
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Child Theme CSS Not Overriding Parent Theme In MultiSite Site
- Trying to migrate a WordPress Multisite with Domain Mapping
- Can wp-cli display all users and their roles across all sites in a multisite instance?
- How do I add JavaScript that will execute on all my sites in Multisite?
- How to update_site_option for specific site within network?
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- How to run nested xargs commands?
- How to add edit users capability to a custom role?
- Wordrpess Subdomains (Multi-Site) without Wildcard
- Subfolder Multisite : optional www subdomain
- Efficiently manage a huge number of blogs given server-side restrictions
- Create a network of sites
- Icon font not working on subdomains of multisite
- Search post in all blogs in WPMU?
- Using Two Themes – One for Main Site, One for Ecommerce
- WordPress Multisite – configuring a local development copy
- MultiSite Move conjures duplicate URL
- Create batch of sites WordPress MultiSite
- Multilanguage site with two domains
- Site not found using subdomains
- Get current Blog ID in Tinymce Plugin Dialog Window in WPMU
- Grandchild themes and optimal network architecture
- Can you install / activate the multisite when the install is in a subfolder?
- In multisite environment which is the most Popular blog?
- Share reusable blocks between network sites
- Multisite – Change Add user to Blog notification email
- URL without www redirect directly with submission page – Multiwordpress install
- WordPress rewrite multisite blog url
- How to transfer existing WordPress website to new multisite wordpress domain?
- Can Multisite run without domain name in WordPress?
- Going multisite with www prefix
- WordPress sub-domain multisite 505 error
- WordPress Multisite blogs not working after domain swap
- Adding hreflang to multisite with no plugin?
- Obtaining user table for one site on multisite set up
- possible to combine sites that have lots of content, into multisite?
- How to autologin users after creating a new site (multisite)? [duplicate]
- WordPress front end posting to multiple blog in multisite with advanced custom field
- WP Multisite – Additional subdomain on the site for API purposes
- Detach site from multisite (turn off multisite)
- How to wordpress multi site [closed]
- Old Website Address Still Showing
- Multisite configuration for multiple domains
- Multisite adjust uploads like (/upload/%alphanumeric_id%/%file_type%/%blog_ID%)
- Multi-Site / Single Site Decisions
- Multi-site site nav, wpdb->prepare missing argument
- Changing from localhost:8888 to localhost
- WordPress multilingual site to work with other plugins
- What’s the best way to get posts from one multisite blog into another?
- Error after changing multisite URL
- query multisite blog for post by tag
- Rewriting request to another site
- How to migrate post media from stand-alone to multisite build
- Multi-Network without plugin
- How install wordpress in another wordpress folder?
- All Multisites are working as one site
- How to add WordPress site to multisite network when both are addon domains
- Get posts by user role in a Multisite
- WordPress Multisite header img src is lost from staging to production
- How can I make my existing VIP theme to multisite
- how to make a cronjob run, when user needs to be logged in
- All Subsites of a WordPress Multisite install 302 redirects to the main site
- Blog broken after changing Site/Home URL
- Autoblog posts in wpms(network) into main site including featured images
- Cron job disappering without notice?
- WP Multisite .htaccess interferes with cgi-bin
- Redirect all users, except network administrators, from the main site to a subsite
- Apply Lazy loading/Infinite scroll on array data
- load styles and scripts in network admin not working
- How to redirect author subdomain pages to each author pages on www
- Problem in viewing recent posts from network site to main site
- Set static page as default front page on newly created sites in multisite
- WordPress shows death white screen on multisite
- Multisite website configure Domain issue
- External rewrite rules missing in htaccess – Multisite
- Single installation with sub-domains for admin and separate domains for sites
- get_category_link() or get_tag_link() return wrong category/tag base in wordpress multisite
- Multisite subdomain microsite on secondary domain