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.
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.
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
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
I have a plugin that overwrites the email sent with wp_new_user_notification:
This topic has been closed to new replies.