During the process of a user creating a new account, once they click on the link in the activation email, they receive the message on the login page:
Your account is now active!
Username: **
Password: **
Your account is now activated. View your site or Login
I need to customize this message.
This content seems to be produced by wp-activate.php
, but I don’t see any hooks, such as wpmu_signup_user_notification
found in ms-functions.php
.
I’m using WordPress 3.8 multisite (subdomain).
I’ve found the answer here:
Customizing wp-activate.php
It’s a bit of a workaround really, but it works pretty well.
Step 1
Create a new page called ‘activate’
Step 2
Create a new template called ‘template-activate.php’ and add the following code:
Step 3
Create a new plugin file called ‘custom-activation-email.php’
Notes
I’m using the ‘Theme My Login’ plugin, hence the changed links to /login and /lostpassword.
I chose to do step 3 as a plugin instead of adding to my theme’s functions.php because I didn’t seem to work that way.