WPMU - Multisite Email Variables (4 posts)

  1. angryoaf
    Posted 2 years ago #

    I've been trying to figure out what variables are available for the automatic multisite email template in Network Admin > Settings but my searches have been fruitless.

    Basically, in "Welcome User Email" instead of:

    SITE_NAME and USERNAME I want to use BLOG_NAME and EMAIL_ADDRESS but I can't seem to find the correct place-holders.

    BLOG_NAME actually works in the "Welcome Email" but not in the "Welcome User Email" so I'm not sure what else needs to be done.

    Any help would be appreciated.


  2. BLOG_NAME won't work in the Welcome USER email because Users are not added to a blog when they register, they're added to a network.

  3. angryoaf
    Posted 2 years ago #

    Blech, the way multisite handles users/user registrations is a pretty big pain in the butt.

    What about using the email address in the email instead of the username?

  4. It's just intended to do things in a way you're not :) It happens.

    You want to use the email address of the person who just registered? So instead of saying 'Welcome Bob' it's 'Welcome bob@gmail.com'?

    Doesn't look like that's possible, based on the search/replace settings here: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/ms-functions.php#L1483

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.