Tag: wp_mail
-
Change the WordPress new user notification using the wp_mail filter
I have shown in the past how to change the WordPress new user notification by rewriting the wp_new_user_notification() function, which is a pluggable function. But the transition from WP 4.2 to 4.3 showed why even pluggable functions can be problematic. So here is a way to do it with a filter that almost no one…
-
Add a file upload field to attach to admin notification email during registration
This tutorial will describe how to add a file upload field to the registration form and have the resulting file be sent with the admin notification email.
-
Email Admin When a User Updates Registration Data
Here’s a request I get from time to time – how can the admin receive email notification that a user updated their data, so I figured it is about time to put that together as a tutorial. This one should be fairly straight forward and can be used cut-and-paste for the general features. As usual,…
-
Email users when a new post is published
This tip is a request from a user. I like user requests – that makes it easier to deliver the kind of tutorials users are looking for instead of things I just come up with on my own. This particular tip will address how you can automatically send an email to all users when a…