Ready to get started?Download WordPress


WPMU - Multisite Email Variables (4 posts)

  1. angryoaf
    Posted 6 months 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 6 months 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


You must log in to post.

About this Topic


No tags yet.