Results 1 to 1 of 1

Thread: Using appthemes_after_registration to create a custom admin New User email

  1. #1
    Thread Starter
    Expired Customer jobsonthecoast's Avatar
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using appthemes_after_registration to create a custom admin New User email

    I've added a set of custom questions to my user registration page, which I'm storing in the user_meta table or WP.

    I want to display those custom questions in the email sent to the admin when a new user registers. So I copied app_new_user_notification() from theme-emails.php into my child theme functions.php, renamed it my_app_new_user_notification(), and added:

    remove_action( 'appthemes_after_registration', 'app_new_user_notification', 10, 2 );
    add_action( 'appthemes_after_registration', 'my_app_new_user_notification', 10, 2 );

    Works great, except that I now get my new custom email, plus the standard email generated by app_new_user_notification(). So two emails to the admin for one new user registration.

    For some reason app_new_user_notification() just does not want to be unhooked. Does anyone have any ideas?

    Cheers, Bruce.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Jomark Upon user registration:From email says admin@coupon.in
    By mannemvamsi in forum Clipper General Discussion
    Replies: 1
    Last Post: November 21st, 2013, 10:32 AM
  2. Editing admin new user email
    By mitchcynthia in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: July 18th, 2012, 08:03 PM
  3. Create custom field to be only seen by admin?
    By Wamba in forum ClassiPress General Discussion
    Replies: 1
    Last Post: April 30th, 2010, 04:13 PM
  4. Create custom field to be only seen by admin?
    By Wamba in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 06:00 PM