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 knows about – wp_mail. Continue Reading →
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. Continue Reading →
This code snippet is an extension of the email users when a new post is published snippet. Like that snippet, this one comes from user requests.
The difference here is that we will only email users who have requested specifically to be notified of new posts, and we’ll allow them to opt-out of that process at a later date by updating their profile. Continue Reading →
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, I’ve tried to comment the code so that you know what is happening where and more advanced users can build on this concept from there. Continue Reading →
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 post is published or updated. Continue Reading →