Results 1 to 5 of 5

Thread: Send new user role by email

  1. #1
    Thread Starter
    toddrhoades's Avatar
    Join Date
    Nov 2012
    Location
    Croatia
    Posts
    41
    Thanks
    0
    Thanked 1 Time in 1 Post

    Send new user role by email

    Hi

    I would like to add user role to email that is automatically sent to admin each time a new user registers.

    This is the line that I have added but it's not displaying role...

    $message .= sprintf(__('Registered as: %s'), $user_role) . PHP_EOL;

    Thanks

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,867 Times in 1,767 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    malave's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    54
    Thanks
    0
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,867 Times in 1,767 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    malave's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    54
    Thanks
    0
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New User Email Plugin in 3.02 BUG - Send Notification Email
    By zontor in forum ClassiPress General Discussion
    Replies: 15
    Last Post: December 25th, 2013, 12:23 PM
  2. [SOLVED] How to set up WordPress to send an User Activation link by Email?
    By andreuerj in forum WordPress General Discussion
    Replies: 9
    Last Post: May 13th, 2013, 07:24 PM
  3. Replies: 11
    Last Post: November 13th, 2012, 09:13 AM
  4. Send Email To Registered User Who DID NOT Post an Ad?
    By kenhammond in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: August 29th, 2012, 04:57 PM