WordPress.org

Ready to get started?Download WordPress

Ideas

Hook in wp_new_user_notification

  1. Apiki
    Member

    Hi,

    What about to add some filters in the function wp_new_user_notification. With that filters I could change, for example, the e-mail, title and others.

    Best regards.

    Posted: 5 years ago #
  2. night2008
    Member

    Nice suggestion, but I prefer the function overwrite method over filters, as you have full flexibility that way, instead of depending on 3-4 filters...

    Also it allows u to insert a html templated text, instead of plain text e-mail, which improves user experience :)

    If you would like an example of a html templated user notification, i can provice when contacted on kim.kennof@gmail.com.

    Greets,
    Kim

    Posted: 5 years ago #
  3. Apiki
    Member

    Overwrite the function is a good idea. But in some simple projects we could just create a simple function to change some values.

    I used to create a plugin just to work over some filters and hooks.

    Cheers

    Posted: 5 years ago #
  4. Alex Cragg
    Member

    I have a plugin that overwrites the email sent with wp_new_user_notification:

    http://epicalex.com/new-user-email-setup-update/

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    1 Vote
  • Status

    This is plugin territory