This is actually quite easy. All I needed was to inject the appropriate add_filter() and follow it up with my custom function. That’s all I needed to completely override the original function. So sweeet.
To bypass wpmu_signup_user_notification()
and use my own custom function I needed the following:
add_filter('wpmu_signup_user_notification', 'gqa_signup_user_notification', 10, 4);
And in my custom function I actually just copied the entire function from ms-function.php
and only changed the part I needed to change (the $admin_email variable), but I could have entirely rewritten it had I needed to.
I don’t know what WPMU functions behave in this way, or why they didn’t just make them pluggable, but whatevs, I’m happy to have this kind of control.
FWIW I was also able to do the same with wpmu_welcome_user_notification
.
Related Posts:
- How can I un-reserve a pending username registration?
- wordpress multisite, how to keep user on subdomain throughout registration process?
- Allowing periods in usernames
- Remove Site Name from register form – Multisite
- Prevent user creating new users with specific roles
- Get first_name and last_name on user_register hook
- Can’t add user to blog on registration (Multisite)
- Is there a wordpress function to cleanly delete an entry in the signups table?
- WordPress 3.2(Multisite) – How to add custom user meta fields to signup form?
- How to add multiple existing users to a multisite site?
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- User registration on sub site
- Disable domain redirect
- Displaying a message upon user registration
- What sites are you registered to when joining a multisite?
- Add a user to a specific blog when they register?
- Auto creation of multisite blog on user registration
- Multisite – user email activation links broken
- Add menu items/actions for multisite users who are registered on the network but do not have a role or capability in any sites
- Four columns in the wp_users table
- WP MU Register User across all blogs
- Is the Multi site functionality a viable option for Country and Language targeting?
- Using the standard WordPress “New User” interface on a multisite
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- User registration on two sites in same multisite
- How to change a user role after registering in multisite?
- How to fix that new users show up again in subsite of a Multisite?
- User registration is currently not allowed
- Multisite ‘Welcome User Email’ SITE_NAME returns ‘network’ name, not the name of the blog
- User registration on wordpress multisite
- Easily adding multiple existing users to a multisite site
- Automatic registration on main site upon user registration on Multisite
- Register a user only to the root blog – WP Multisite
- Activate User account for Sub Site broken
- Possible to have duplicate usernames on different two multisites
- How to allow mixed case characters in multisite site name?
- 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
- WordPress Multisite Network Subdomain
- Allow users to register on multisite through WooCommerce using the same email address
- A different role for each site in a multisite
- Activation of new Registered site fails on multisite
- User registration problem on multisites web
- Multisite “Skip Confirmation Email” Log Out Problem
- Multisite – User creation for second site from first site?
- How to Create WPMu New User?
- Possible to set new user’s site time zone at user creation using Gravity Forms?
- multisite registration: check existing subdomains while typing
- Registration Page
- Using a number for limiting registering or banning on multisite
- How to use same email for multiple users? [duplicate]
- Multisite on Windows with wildcard subdomains
- Multisite htaccess on localhost with WP as an SVN external?
- WordPress Multisite with multiple domains using Nginx
- Turn off ms-files.php after network setup
- How do I fix problems with users not being able to publish and only submit for review after upgrade of Multisites installation?
- subdomain archiving
- Copy site from one multisite to another
- add_rewrite_rule not registering on Multisite
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- How to change the database prefix in multisite (WPMU) install
- Getting blank thumbnails in media library?
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Accessing multiple sites via FTP
- Multiple homes for multiple languages [closed]
- You do not have permission to edit this user
- Multi-site: removing /blog from posts
- Multiple install for multilanguage. How to?
- How to detect the context of homepage for a wordpress mu sub-blog
- Multsite redirecting to the main site
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- How to make a php script(app) accessible to all wordpress subdomains in a wordpress multisite configuration?
- Multisite with 220+ sites painfully slow
- Efficient way to handle translations with Multisite WordPress installation
- WordPress Mulitisite – Unable to create directory
- network site domain mapping still applied after being removed
- Can WordPress Multisite (MU) subdirectory url/slug/permalink be changed?
- Multisite Subdomain Redirect Mask
- Add access control origin header information across multisite
- Multisite Login problem
- How can I use different domains on a WP multisite install?
- WordPress MultiSite Won’t Work on Google AppEngine
- Redirecting to page not found mulitiste
- How many .htaccess files should a WordPress multisite (subdirectory set up) have?
- Multisite loads assets from main site
- Fix nested WordPress multisite resource path?
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- After cloning my WordPress database to another server, I cannot log in
- WordPress multisite dashboard not working..!
- WordPress Domain Mapping shows new domain in place but takes me to the sub domain
- How can I have different langauges in wp-admin on a multisite installation?
- How to create Network of websites with separate database in WordPress
- In a MS install, can you allow different users to have their own themes?
- WordPress multidomains and subfolders
- Redirect authors from upload.php url to Home page in Multisite
- Images on WP Network’s subsite appear only if accessed via main site’s url
- Multisite: should /blog go to a 404 page?
- Create service similar to wordpress.com [closed]
- Run WordPress multisite from secondary volume on AWS EC2